Project:Language policy/zh

这个页面阐述目前MediaWiki.org上的多语言化方针.

帮助:命名空间
在  名字空间我们建立了一组公共领域帮助页面. 目标是为导入新维基包括基本编辑和使用说明提供一组基础帮助页面. 这些内容应翻译为尽可能多的语言.


 * 英语是主要的参照语言，所有的顶级页面都应使用英语命名和编写.
 * 子页面仅应用于翻译为其他语言，而不用于英语内容（例如您不应使用 ，应替换为   或  ）.
 * 如果某个页面的国际化版本已存在但英语版本尚没有，则请创建英语版本的子条目用于辅助导航.

该系统将兼容于计划中的自动导入导出帮助页面，不过在过渡期间导出、导入非英语页面仍需要额外的工作

翻译扩展
目前我们在许多页面中使用翻译扩展，其中通过目录的 Langcat 和翻译模板的 TNT 使用子页面约定. 推荐在大部分访问页和所有新帮助、手册和（主）扩展页中使用该系统，但尚未建立相应的方针.


 * 翻译：请前往 Special:LanguageStats 开始翻译.
 * 管理翻译：Special:PageTranslation、Special:AggregateGroups.

您可以标记一个页面以请求添加到翻译列表，然后翻译管理员必须开启（请参阅指南如何标记页面以备翻译），或者直接让某个翻译管理员操作.

旧式系统

 * 其他语言版本应放在相应名称的英文版子页面中. 例如，Help:Contents 法语版应在 Help:Contents/fr（而不是 Help:Contenu、Aide:Contenu 或 Help:Contenu/fr）.
 * 各语言子页面应使用该语言的适当语言代码命名（请参阅下面）.
 * 在帮助名字空间中的所有页面都应使用  模板标记，它会自动创建到所有可用译文的链接.

转换为翻译
已有译文的页面通常值得翻译. 标记根页面（英语）以备翻译（请参阅翻译扩展章节），且在标记为待译后马上从子页历史中导入旧译文到翻译单元中（通过点击“翻译本页”）.

旧式系统中已译页面列表迁移到新系统的工作在 Project:Language policy/Migration list 进行中.

更详细的说明如下：
 * 完整的介绍请阅读基本帮助、翻译指南、页面翻译指南和翻译参考手册.


 * Login or register on mediawiki.org: all your work will happen on this wiki. Pick one page to migrate to Translate from the migration list (on the list's talk page, you can ask any question). Polish the English text as fit/possible to avoid migrating very obsolete/low quality text, skip pages where unsure. Prepare the page for translation (i.e. add &lt;translate> tags etc.) following the page translation tutorial linked above; then edit the migration list, writing next to the page's title that you've done it.


 * A translation administrator (you?) will now approve ("mark") the page for translation at their discretion. When it's approved, complete the job: copy the old translations to corresponding units with Special:Translate (as a translator would do in the translation tutorial linked above). You don't need to know the language you're migrating, only to identify which paragraph corresponds to which, even though it's not a loyal translation (machine translation can help grasp the meaning if the layout of the page doesn't provide enough hints).

主页面
The English version of our front page is located at MediaWiki. Translated versions are located at MediaWiki/code, where code is the language code (e.g. MediaWiki/fr). Please see Project:Main page templates for more details about creating or editing this content.

Importantly, the rules about language codes (see below) should be followed here as well.

其他命名空间
Apart from the Main Page, no policy has yet been decided about other namespaces. For the time being, if you would like to create translations for pages in other namespaces then please do so as described for the Help: namespace, however content may be moved or deleted depending on the policy that is eventually adopted.

相关的讨论请参阅本期新闻的语言和翻译扩展.

''Note that the rule that English content should not be placed in sub-pages does not apply to other namespaces. This is one of the issues that needs resolving.''

语言代码
Throughout MediaWiki.org you should use the language codes specified by the MediaWiki software when creating language-specific content (see Names.php for the full and up-to-date list).

Please also bear the following in mind:
 * If the language code is not found in Names.php then we should not host help pages in that language.
 * If you want to add a language that is not present, first get it added to the software (by making a request at Bugzilla) and only add pages here once the changes have been accepted.


 * If MediaWiki uses the 'incorrect' code for a language then you should also (for consistency) use that incorrect code here. If you think a code is incorrect you should discuss it on Bugzilla, and if this results in it being changed we will move the pages to match.
 * Note that some language codes in Names.php are now deprecated (e.g. zh-yue has been replaced with yue). In these cases only the most recent code should be used.

另请参阅

 * Project:Translation
 * Special:TranslatorSignup——译者的注册表格
 * Project:PD help