Difference between revisions of "Translate"

From Sim Settlements
Jump to: navigation, search
(Created page with "<translate> TODO: write directions for translating the wiki. </translate>")
 
Line 1: Line 1:
 +
<languages />
 
<translate>
 
<translate>
TODO: write directions for translating the wiki.
+
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 ==
 +
 
 +
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.''
 +
 
 +
<pre>
 +
&lt;languages /&gt;
 +
&lt;translate&gt;
 +
 
 +
...page content here...
 +
 
 +
&lt;/translate&gt;
 +
</pre>
 +
 
 +
[[File:languages_bar.png|480px|thumb|right|The '''Other languages''' selection bar.]]
 +
 
 +
* 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 ==
 +
 
 +
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 ==
 +
 
 +
* [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>

Revision as of 01:49, 26 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