Nonbinary Wiki:Translations: Difference between revisions

    From Nonbinary Wiki
    (+screenshots)
    No edit summary
    Line 12: Line 12:
    <big>'''How to translate'''</big>
    <big>'''How to translate'''</big>


    Access the page [[Special:PageTranslation]] to check which articles are marked for translations. Not all articles in the wiki are marked for translation, but if you want to translate a specific page that is not listed, request it in [[Nonbinary Wiki:Translations/requests]]. A translation admin will take a look at the request and probably accept it.
    Access the page [[Special:PageTranslation]] to check which articles are marked for translations. Not all articles in the wiki are marked for translation, but if you want to translate a specific page that is not listed, request it in [[Nonbinary Wiki talk:Translations|the talk page]]. A translation admin will take a look at the request and probably accept it.


    To translate a page, click on the small ''Translate this page'' link that is displayed at the very top of the article content. This will take you to the translation interface:
    To translate a page, click on the small ''Translate this page'' link that is displayed at the very top of the article content. This will take you to the translation interface:
    Line 22: Line 22:
    [[File:Segment_translation_interface.png|thumb|center]]
    [[File:Segment_translation_interface.png|thumb|center]]


    '''Careful with wikitext syntax.''' The translation interface uses the code editor, meaning that you are likely to see formatting tags. These include <nowiki>[[square brackes]]</nowiki> (internal links), <nowiki>''double''</nowiki> or <nowiki>'''triple'''</nowiki> apostrophes (italics and bold text), <nowiki><ref>references</ref></nowiki>, and others. As a general rule, you can translate italics and bold text, but not page title in links. Look at the advanced section below for more details.
    '''Careful with wikitext syntax.''' The translation interface uses the code editor, meaning that you are likely to see formatting tags. These include <nowiki>[[square brackets]]</nowiki> (internal links), <nowiki>''double''</nowiki> or <nowiki>'''triple'''</nowiki> apostrophes (italics and bold text), <nowiki><ref>references</ref></nowiki>, and others. As a general rule, you can translate italics and bold text, but not page titles in links —deleting the square brackets (and, consequently, the link itself) is better than directly translating the contents of a link. Look at the advanced section below for more details.


    If you don't know the translation of a segment, you can skip! However, avoid translating only part of a segment; treat them as inseparable units —you either translate it all, or you don't translate it at all. Remember that all translations need to be reviewed by another user before being displayed publicly, but as soon as it goes through a review, they will be published immediately.
    If you don't know the translation of a segment, you can skip it! However, avoid translating only a part of a segment; treat them as inseparable units —you either translate it all, or you don't translate it at all. Remember that all translations are published immediately when you save them, so make sure that your translation doesn't have placeholders or other temporary text!


    {{collapse top|title=Advanced wikitext translation tips (click to expand)}}
    {{collapse top|title=Advanced wikitext translation tips (click to expand)}}
    Line 34: Line 34:
    * <nowiki>[[Internal links]]</nowiki>: The basic rule is not to translate them, since the name of the page is in English. However, there are exceptions:
    * <nowiki>[[Internal links]]</nowiki>: The basic rule is not to translate them, since the name of the page is in English. However, there are exceptions:
    ** Use link titles: you can have a link display a different text than the page it links too. For example, <nowiki>[[Nonbinary|example link]]</nowiki> creates this link: [[Nonbinary|example link]] (i.e. it links to [[nonbinary]] but ''example link'' is displayed instead). If the original link has this syntax, feel free to translate the link title (that is, the text on the right of the | symbol), but not the page it links to.
    ** Use link titles: you can have a link display a different text than the page it links too. For example, <nowiki>[[Nonbinary|example link]]</nowiki> creates this link: [[Nonbinary|example link]] (i.e. it links to [[nonbinary]] but ''example link'' is displayed instead). If the original link has this syntax, feel free to translate the link title (that is, the text on the right of the | symbol), but not the page it links to.
    ** Use ''Special:MyLanguage'': you can tell the software to link to a page but to take the user to the version of the page translated to whatever language the user has configured. For example, if you translate <nowiki>[[Nonbinary]]</nowiki> for <nowiki>[[Special:MyLanguage/Nonbinary]]</nowiki>, the reader will automatically be redirected to the translation of the ''Nonbinary'' page (if it exists, otherwise it defaults to English).
    ** Use ''Special:MyLanguage'': you can tell the software to link to a page but to take the user to the version of the page translated to whatever language the user has configured. For example, if you translate <nowiki>[[Gender identity]]</nowiki> for <nowiki>[[Special:MyLanguage/Gender identity|identidad de género]]</nowiki>, the reader will automatically be redirected to the translation of the ''[[Gender identity]]'' page instead of the English one.
    * <nowiki>[https://nonbinary.wiki External links]</nowiki>: External links are wrapped with single square brackets and a single space separates the URL from the displayed text. Of course, translate the display text, and if the linked URL has a version in your language, feel free to replace it too. Just make sure that it has the same information as the original one.
    * <nowiki>[https://nonbinary.wiki External links]</nowiki>: External links are wrapped with single square brackets and a single space separates the URL from the displayed text. Of course, translate the display text, and if the linked URL has a version in your language, feel free to replace it too. Just make sure that it has the same information as the original one.
    * <nowiki><ref>references</ref> and <div>other HTML tags</div></nowiki>: wikitext uses some tags wrapped by angle brackets (<>). Feel free to translate the text that is between the opening and the closing tags (which might be subject to other wikitext formatting too), but never translate the words between the angle brackets! This would break the formatting of the page.
    * <nowiki><ref>references</ref> and <div>other HTML tags</div></nowiki>: wikitext uses some tags wrapped by angle brackets (<>). Feel free to translate the text that is between the opening and the closing tags (which might be subject to other wikitext formatting too), but never translate the words between the angle brackets! This would break the formatting of the page.
    * <nowiki>[[File:Nonbinary.png|thumb|Nonbinary flag]]</nowiki>: this code generates an image of the nonbinary flag in a thumbnail with a footer that reads ''Nonbinary flag''. You will rarely find the full code in the translation interface, and instead only the footer will appear for translation. But if you do, only translate the footer, not the file name, the word ''File:'' or the word ''thumb''.
    * <nowiki>[[File:Nonbinary.png|thumb|Nonbinary flag]]</nowiki>: this code generates an image of the nonbinary flag in a thumbnail with a footer that reads ''Nonbinary flag''. You will rarely find the full code in the translation interface, and instead only the footer will be available for translation. But if you do find the full syntax, only translate the footer, not the file name, the word ''File:'', or the word ''thumb''.
    * <nowiki>{{templates|key=value}}</nowiki>: just like with images, you will rarely find this syntax in the translation interface, and instead you will be asked to just translate the values that need to be translated (if any). If you see this syntax, though, translate only the values (i.e. the words that appear at the right side of the = sign).
    * <nowiki>{{templates|key=value}}</nowiki>: just like with images, you will rarely find this syntax in the translation interface, and instead you will be asked to just translate the values that need to be translated (if any). If you see this syntax, though, translate only the values (i.e. the words that appear at the right side of the = sign).
    {{collapse bottom}}
    {{collapse bottom}}
    <big>'''How to review translations'''</big>
    The translation of a page will not be public until another user has reviewed it, but reviewing is a quick process (assuming that the translation is good) so don't worry! Before getting started, make sure that you have create an account and are logged-in, as only registered users can review translations.
    To get started, go to the page you want to review and click on the small ''Translate this page'' link, which will appear at the very top of the page content. You will access this interface:
    Click the ''Translated'' tab to see all segments of the page that have already been translated.
    <big>'''Information for translation admins'''</big>
    Illum aut aliquid voluptas non culpa velit. Necessitatibus unde ipsam veritatis accusantium. Et blanditiis nam illo quis omnis. Vero consequatur libero qui aut sint officiis repudiandae. Quia vel nihil placeat laborum voluptas rem ea. Cumque architecto consequuntur porro nesciunt.


    </div>
    </div>

    Revision as of 09:35, 20 April 2020

    VisualEditor - Icon - Advanced - white.svg Ondo is working on this article right now, so parts of the article might be inconsistent or not up to our standards of quality. You are welcome to help, but please ask in the talk page before performing significant changes to this page.
    Note to editors: If this notice stays here for more than two weeks, feel free to replace it with {{incomplete}} or a similar maintenance template.
    Nonbinary Wiki languages
    The Nonbinary Wiki is mainly an English project, but we are very happy to provide translations of our articles in other languages. If you are capable to do so, join our translation team! This page will guide through the basics of translation and getting involved with the project.

    How to translate

    Access the page Special:PageTranslation to check which articles are marked for translations. Not all articles in the wiki are marked for translation, but if you want to translate a specific page that is not listed, request it in the talk page. A translation admin will take a look at the request and probably accept it.

    To translate a page, click on the small Translate this page link that is displayed at the very top of the article content. This will take you to the translation interface:

    General translation interface.png

    Choose the Untranslated tab (or the Outdated one if you want to update old translations). Click on each segment and translate it to your chosen language in the text box! You can optionally add edit summaries to each translation in case you feel the need of clarifying a specific choice of words, but you don't need to. If a segment doesn't need translating, click on the Paste source text button —if you leave the box empty, it will display as incomplete.

    Segment translation interface.png

    Careful with wikitext syntax. The translation interface uses the code editor, meaning that you are likely to see formatting tags. These include [[square brackets]] (internal links), ''double'' or '''triple''' apostrophes (italics and bold text), <ref>references</ref>, and others. As a general rule, you can translate italics and bold text, but not page titles in links —deleting the square brackets (and, consequently, the link itself) is better than directly translating the contents of a link. Look at the advanced section below for more details.

    If you don't know the translation of a segment, you can skip it! However, avoid translating only a part of a segment; treat them as inseparable units —you either translate it all, or you don't translate it at all. Remember that all translations are published immediately when you save them, so make sure that your translation doesn't have placeholders or other temporary text!

    Advanced wikitext translation tips (click to expand)

    You don't need to read this section in order to translate! This is only for those who feel confident in their wiki-editing skills and want to improve the quality of their translations (as well as making them easier to review).

    Wikitext is the markup language that we use to edit wiki pages. It's pretty easy to understand but at the same time provides a lot of flexibility. This section explains how to deal with the most common wikitext tags.

    • ''Italic'' and '''bold''' text: Translate it, but don't forget the apostrophes! Make sure there's the same amount of them at the beginning and also at the end of the word.
    • [[Internal links]]: The basic rule is not to translate them, since the name of the page is in English. However, there are exceptions:
      • Use link titles: you can have a link display a different text than the page it links too. For example, [[Nonbinary|example link]] creates this link: example link (i.e. it links to nonbinary but example link is displayed instead). If the original link has this syntax, feel free to translate the link title (that is, the text on the right of the | symbol), but not the page it links to.
      • Use Special:MyLanguage: you can tell the software to link to a page but to take the user to the version of the page translated to whatever language the user has configured. For example, if you translate [[Gender identity]] for [[Special:MyLanguage/Gender identity|identidad de género]], the reader will automatically be redirected to the translation of the Gender identity page instead of the English one.
    • [https://nonbinary.wiki External links]: External links are wrapped with single square brackets and a single space separates the URL from the displayed text. Of course, translate the display text, and if the linked URL has a version in your language, feel free to replace it too. Just make sure that it has the same information as the original one.
    • <ref>references</ref> and <div>other HTML tags</div>: wikitext uses some tags wrapped by angle brackets (<>). Feel free to translate the text that is between the opening and the closing tags (which might be subject to other wikitext formatting too), but never translate the words between the angle brackets! This would break the formatting of the page.
    • [[File:Nonbinary.png|thumb|Nonbinary flag]]: this code generates an image of the nonbinary flag in a thumbnail with a footer that reads Nonbinary flag. You will rarely find the full code in the translation interface, and instead only the footer will be available for translation. But if you do find the full syntax, only translate the footer, not the file name, the word File:, or the word thumb.
    • {{templates|key=value}}: just like with images, you will rarely find this syntax in the translation interface, and instead you will be asked to just translate the values that need to be translated (if any). If you see this syntax, though, translate only the values (i.e. the words that appear at the right side of the = sign).

    If you are short on time...

    Not everyone has the time to commit to a big project such as this one. If that's your case, here are some things you can do to help us anyway!