Difference between revisions of "Translate"

From Sim Settlements
Jump to: navigation, search
(Created page with "<translate> TODO: write directions for translating the wiki. </translate>")
 
(Marked this version for translation)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
<languages />
 
<translate>
 
<translate>
TODO: write directions for translating the wiki.
+
<!--T:1-->
 +
These are the steps for translating a page on the wiki. If you do not have edit or translate permission, please make a request on the [https://www.simsettlements.com/site/index.php?threads/wiki-translations.61/ forum].
 +
 
 +
== Enable Translations == <!--T:2-->
 +
 
 +
<!--T:3-->
 +
In order to enable translations on a page, wrap the body of the page with these tags. ''This step only needs to be performed once.''
 +
 
 +
<!--T:4-->
 +
<pre>
 +
&lt;languages /&gt;
 +
&lt;translate&gt;
 +
 
 +
<!--T:5-->
 +
...page content here...
 +
 
 +
<!--T:6-->
 +
&lt;/translate&gt;
 +
</pre>
 +
 
 +
<!--T:7-->
 +
[[File:languages_bar.png|480px|thumb|right|The '''Other languages''' selection bar.]]
 +
 
 +
<!--T:8-->
 +
* The <code>&lt;languages /&gt;</code> tag displays the '''Other languages''' selection bar at the top of the page.
 +
* The <code>&lt;translate&gt;</code> tags inform the ''Translate'' extension where the translatable content resides on the page.
 +
 
 +
== Mark for Translation == <!--T:9-->
 +
 
 +
<!--T:10-->
 +
Once translations have been enabled, the page needs to be ''marked'' for translation. This creates the necessary section markers used by the ''Translate'' extension.
 +
 
 +
<!--T:11-->
 +
To mark the page for translation, click the '''Mark this page for translation''' link at the top of the page, then click the '''Mark this version for translation''' button.
 +
 
 +
== Translate Content == <!--T:12-->
 +
 
 +
<!--T:13-->
 +
'''TODO:''' fill in steps for translating content using translation units.
 +
 
 +
== Making Changes == <!--T:14-->
 +
 
 +
<!--T:15-->
 +
'''TODO:''' fill in steps for marking new changes for translation.
 +
 
 +
== Tracking Translations == <!--T:16-->
 +
 
 +
<!--T:17-->
 +
'''TODO:''' fill in steps for tracking translations using [[Special:PageTranslation]].
 +
 
 +
== External References == <!--T:18-->
 +
 
 +
<!--T:19-->
 +
* [https://www.mediawiki.org/wiki/Help:Extension:Translate Page translation extension - MediaWiki]
 +
* [https://www.mediawiki.org/wiki/Help:Extension:Translate/Page_translation_example Page translation example - MediaWiki]
 +
* [https://www.mediawiki.org/wiki/Help:Extension:Translate/Page_translation_administration Page translation administration - MediaWiki]
 +
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Extension:Translate/Translation_best_practices Translation best practices - MediaWiki]
 +
 
 
</translate>
 
</translate>

Latest revision as of 02:10, 30 June 2017

Other languages:
English

These are the steps for translating a page on the wiki. If you do not have edit or translate permission, please make a request on the forum.

Enable Translations

In order to enable translations on a page, wrap the body of the page with these tags. This step only needs to be performed once.

<languages />
<translate>

...page content here...

</translate>
The Other languages selection bar.
  • The <languages /> tag displays the Other languages selection bar at the top of the page.
  • The <translate> tags inform the Translate extension where the translatable content resides on the page.

Mark for Translation

Once translations have been enabled, the page needs to be marked for translation. This creates the necessary section markers used by the Translate extension.

To mark the page for translation, click the Mark this page for translation link at the top of the page, then click the Mark this version for translation button.

Translate Content

TODO: fill in steps for translating content using translation units.

Making Changes

TODO: fill in steps for marking new changes for translation.

Tracking Translations

TODO: fill in steps for tracking translations using Special:PageTranslation.

External References