User:Shepherdlazy

From Gentoo Wiki
Jump to:navigation Jump to:search

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.

致编者: 编辑可翻译部分

在一个页面可以被翻译前,您必须标记可翻译部分。在大部分情况下,是整篇文章。

将一个部分放置在 <translate> XML 标签中即可标记它为可翻译,像这样:

CODE 标记文章为可翻译
&lt;translate&gt;
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.
&lt;/translate&gt;

另外, 在你的文章顶部使用 <languages /> 标签添加语言选项栏:

CODE 添加语言选项栏
&lt;languages /&gt;
&lt;translate&gt;
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.
&lt;/translate&gt;

一旦您的文章完成,您可以请求启用翻译。

致编者: 请求翻译页面

完成上述过程(增加语言和翻译标签)后, 该页面会自动列在 翻译页面. 管理员或首席翻译会检查文章质量并批准或拒绝请求。请务必密切关注讨论页面,它将会被用来讨论请求被拒绝的原因。

For Anyone: Becoming a translator

Look on Gentoo Wiki:Translators. If you are the first translator for a certain language, we have some additional requests for you:

  • Create localized templates: Some templates need localization, specifically Template:Warning, Template:Note, and Template:Important. Copy the contents from each of the templates respectively to a new page called for instance Template:Warning/XY where XY stands for the lowercase two-letter (ISO 639-1) language code for your language and replace the English word Warning with the equivalent in your language. For example, your page should be called Template:Warning/de for a German translation (not Warning/DE!)
  • Translate this help page: Please create a page in your user space with a translation of this page. Link to it when requesting a translator account.

When you have completed the task or are not the first translator for your language, add yourself to Gentoo_Wiki:Translator_account_requests.

For Translators: Translating

To start translating an article, click the Translate this page link below the page title. On the next page, select the language you are translating into in the upper right corner.

You will be presented with a table of translatable paragraphs. Click on the links in the leftmost column to show an input box for your translation. When you are done with the paragraph, click Skip to next translation. When you are done, click Save translation.

Special templates

These templates are translated:

NEW! Templates do not need to be changed, they automatically display translated strings.

If your language is missing, or you want to suggest new Templates to be translatable, contact a3li

Language code exceptions

For some scripts, there is no usable ISO 639-1 code. These exceptions are used instead:

Replacement code Language
zh-cn Simplified Chinese (简体中文)

Language Statistics

You can find a list of pages by filling in your language code at Special:LanguageStats which will by default show you which pages haven't been completely translated yet.