Help:Translating

From Gentoo Wiki
Jump to: navigation, search
Other languages:English 100%

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:

CodeMarking 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:

CodeAdding 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.

Personal tools
Namespaces

Variants
Actions
Gentoo Websites logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Navigation
Toolbox
Categories