Help:翻译

From Gentoo Wiki
Jump to:navigation Jump to:search
This page is a translated version of the page Help:Translating and the translation is 13% complete.
Outdated translations are marked like this.

我们使用 TranslateWiki 页面翻译 功能将 Gentoo Wiki 翻译成其他语言。它通过一个 gettext 风格的消息系统将一篇文章分割成多个便于翻译的文本块。

Note
There are specific instructions for translating the handbook.

致编辑:标记可翻译部分

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

Before a page can be translated, mark the translatable sections. In most cases, that is the whole article.

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

CODE 将一篇文章标记为可翻译
&lt;translate&gt;
我们使用 [https://translatewiki.net/wiki/Translating:Page_translation_feature TranslateWiki 页面翻译] 功能将 Gentoo Wiki 翻译成其它语言。
它通过一个 gettext 风格的消息系统将一篇文章分割成多个便于翻译的文本块。
&lt;/translate&gt;

另外,使用 <languages /> 标签将语言选择栏添加至文章顶部:

CODE 添加语言选择栏
&lt;languages /&gt;
&lt;translate&gt;
我们使用 [https://translatewiki.net/wiki/Translating:Page_translation_feature TranslateWiki 页面翻译] 功能将 Gentoo Wiki 翻译成其他语言。它使用一个 gettext 风格的消息系统将一篇文章分割成多个便于翻译的文本块。
&lt;/translate&gt;

All internal links should be represented by {{Link}} template:

Original:

CODE Changing links to use {{Link}}
Visit the [[Main Page]]

Modified:

CODE Changing links to use {{Link}}
Visit the {{Link|Main Page}}

The link template may also accept a label to show as text in place of the actual page name. Original:

CODE Changing links to use {{Link}}
[[Help:Translating|help on translating]]

Modified:

CODE Changing links to use {{Link}}
{{Link|Help:Translating|help on translating}}

Links to sections, that used square bracket links should also use the link template instead:

CODE Changing links to use {{Link}}
Visit the [[Portage#Usage|using Portage]]
CODE Changing links to use {{Link}}
Visit the {{Link|Portage|section=#Usage|using Portage}}

This allows for direction to the translated page if it exists or the main article if it does not. This is dynamic as new pages are created with less work after translations are completed.

Additionally, sections should be tagged like {{Anchor|{section name in English}}} so any hash references are equal between languages. These are NOT to be translated on subsequent languages. An alternative name for the anchor may also be used in place of the section name, particularly in abnormally long or those with non-alpha characters. When using an alternative name, the Link section must point to this Anchor.

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

致编辑:请求页面翻译

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

Translation tags

Once a page has been marked for translation, "translation tags" will automatically be added to appropriate elements of a page by the Translate extension. These tags take the form <--T: 15-->. These tags pertain to the internal workings of the extension, and are not for use by editors.

Do not create or edit these tags. If a paragraph is to be modified, just modify the content and leave the tags in place. When completely deleting a paragraph, delete its translation tag at the same time. When moving the paragraph within the page, keep the tag with the content.

When adding new paragraphs to a page, do not "hand craft" translation tags, just add the content without translation tags. Modifications to the article will have it show up in the Page translation list, and from there changes be reviewed and the page can be marked for translation again, which will add translation tags to the new sections.

Tip
For long sections of output in block level layout elements, such as FileBoxes or CodeBoxes, whitespace may be added to any empty lines so that the entire output will be treated as a unique translatable section. Otherwise each section separated by an empty line would be split into separate paragraphs, each with an individual translation tag.

致所有人:成为翻译者

当您完成任务,或不是该语言的第一名翻译者时,请将您自己添加至 Gentoo_Wiki:Translator_account_requests

To translate articles for a new language, please start by translating this help page in user space. Go to the user page for the account requesting to become a translator, and in the URL bar, add a slash and the name of the new page, as such: "/User:Larry/Translating_Esperanto". Click the "create this page" link, and publish the new translation there. When requesting a translator account, link to the new translation.

我们目前已接受这些语言的翻译人员。

  • Chinese (中文)
  • Croatian (hrvatski)
  • Czech (Český jazyk)
  • Dutch (Nederlands)
  • French (français)
  • German (deutsch)
  • Greek (ελληνικά)
  • Italian (italiano)
  • Korean (한국어)
  • Indonesian (Bahasa Indonesia)
  • Japanese (日本語)
  • Polish (polski)
  • Portuguese (português)
  • Portuguese (português do Brasil)
  • Russian (русский)
  • Spanish (español)
  • Serbian (српски)
  • Ukranian (українська мова)

致翻译者:翻译

Important
Before starting translation work, consider if an article has changes that are not marked for translation. If at the top of an article it says "This page has changes since it was last marked for translation", then only an "outdated" version will be available for translation. Contact an admin or lead-translator to request that an article be reviewed and marked for translation.

点击页面标题下方的翻译此页面链接开始翻译文章。在下一页的右上角选择您要翻译的语言。

您将会看到一个包含可翻译段落的表格。点击表格最左边那列的链接便能打开翻译框。当您完成此段落时,点击跳至下一个翻译。当您完成全部翻译时,点击保存翻译

Those who are promoted to a lead translator, also have access to translate messages for templates.

特殊模板

以下这些模板已被翻译:


NEW! 这些模板需要更改, 它们会自动显示译文.

如果缺少你的语言,或想翻译其他语言,请联系wiki 项目

语言代码例外

对某些语言,没有可用的 ISO 639-1 语言代码。请使用下列代码替代:

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

替代代码 语言
zh-cn 简体中文

语言统计

Special:LanguageStats填入你的语言代码,就可以查找到一个页面列表,这个页面列出了那些没有被完整翻译的页面。