445
edits
(+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 | 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 | '''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 | 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>[[ | ** 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 | * <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}} | ||
</div> | </div> |