Справка:Translating
Версия от 17:51, 24 декабря 2011; Langator (обсуждение | вклад) (Новая страница: «We are using the [http://translatewiki.net/wiki/Translating:Page_translation_feature TranslateWiki Page translation] features to help translating pages on the Gentoo...»)
We are using the TranslateWiki Page translation features to help translating pages on the Gentoo Wiki into other languages. It uses a gettext-style message system that breaks up an article into small chunks of text that are easily translatable.
For Editors: Marking translatable sections
Before a page can be translated, you have to mark the translatable sections. In most cases, that is the whole article.
To mark a section as translatable, put it into <translate>
XML tags, like this:
Code: Marking an article translatable |
<translate> We are using the [http://translatewiki.net/wiki/Translating:Page_translation_feature TranslateWiki Page translation] features to help translating pages on the Gentoo Wiki into other languages. It uses a gettext-style message system that breaks up an article into small chunks of text that are easily translatable. </translate> |
Also, add the language selection bar at the top of your article using the <languages />
tag:
Code: Adding the language selection bar |
<languages /> <translate> We are using the [http://translatewiki.net/wiki/Translating:Page_translation_feature TranslateWiki Page translation] features to help translating pages on the Gentoo Wiki into other languages. It uses a gettext-style message system that breaks up an article into small chunks of text that are easily translatable. </translate> |
Once your article has reached completion, you can request translation to be enabled.