Jump to content

Join the Fediverse:Translation guide/en: Difference between revisions

Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Internal page with issues |text=This guide needs more content.}}
==Rules for translators==


While translating the wiki please follow these few rules:
While translating the wiki please follow these few rules:


== Gender-inclusive language ==
=== Gender-inclusive language ===


Use gender-inclusive (not gender-neutral language) as much as possible and if applicable.
Use gender-inclusive (not gender-neutral language) as much as possible and if applicable.
Line 12: Line 12:
While translating this very page please give more examples for your language here.
While translating this very page please give more examples for your language here.


== Don't add information to translations ==
=== Don't add information to translations ===


With exceptions like the one just mentioned above, a translation should be just that - a translation. Of course some adaptation like localization is sometimes necessary, but translations shouldn't add additional content that doesn't exist in the English original text. If you think some information is missing please first add it to the English text and then translate it.
With exceptions like the one just mentioned above, a translation should be just that - a translation. Of course some adaptation like localization is sometimes necessary, but translations shouldn't add additional content that doesn't exist in the English original text. If you think some information is missing please first add it to the English text and then translate it.


{{Category |category=Meta}}
==How to translate==
 
There is a lot of documentation on how to translate with the translate extension that we use here [https://www.mediawiki.org/wiki/Help:Extension:Translate on the MediaWiki].
 
If you have any questions you can ask [[User:Paula]]. She will then find an answer and probably write something about that here.
 
==How to edit the original/English/Source page==
 
When a page is in translation you'll find tags like this <nowiki><!--</nowiki><nowiki>T:1</nowiki><nowiki>--></nowiki> in the source text. It's best to leave those alone. If you want to move a section of the content, move these tags along with it so the translations don't go missing.<br>
{{Warning small|Never create one of these tags on your own}} they will be created automatically when [[User:Paula]] marks the edited page for translation.
 
==How to make a page translatable==
 
To prepare a page for translation you need to put <nowiki><languages/></nowiki> on the very top of the page and put at least one set of translation tags (<nowiki><translate></translate></nowiki>) in the text.<br>
Always make sure there are as many <nowiki><translate></nowiki> tags as <nowiki></translate></nowiki> tags. Text within these tags can be translated, everything else will just be carried over to the translated page without being translated.<br>
So ideally you'll only put actual text between the tags and other code, like {{Ic|<nowiki>{|</nowiki>}} which creates a table outside.<br>
If you're using a template, Ideally you only put parameter-text in the tags, so e.g.:
{{Ic|<nowiki>{{Infobox instance |position=float:right |name=ClimateJustice.social |file=Climate Justice server thumbnail.png</nowiki>}}<br>
{{Ic|<nowiki>|about=<translate>Welcome to this official Fediverse instance<br> for climate justice activists.</translate></nowiki>}}<br>
{{Ic|<nowiki>|inception=2020-07-18 |founder=[[Fedizen:PaulaToThePeople|PaulaToThePeople]]</nowiki>}}<br>
{{Ic|<nowiki>|green?={{yes|<translate>Yes, climate neutral</translate>}} |population=2.9k |platform=Mastodon}}</nowiki>}}
 
{{Category |category=Meta}}{{category |category=Editing guides}}
6,387

edits