Project:Política de lingua

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Project:Language policy and the translation is 34% complete.
Other languages:
Deutsch • ‎English • ‎Esperanto • ‎Scots • ‎Tagalog • ‎Tiếng Việt • ‎Türkçe • ‎Zazaki • ‎aragonés • ‎dansk • ‎eesti • ‎español • ‎français • ‎galego • ‎interlingua • ‎italiano • ‎lietuvių • ‎oʻzbekcha/ўзбекча • ‎polski • ‎português • ‎português do Brasil • ‎shqip • ‎svenska • ‎čeština • ‎Ελληνικά • ‎русский • ‎українська • ‎العربية • ‎تۆرکجه • ‎روچ کپتین بلوچی • ‎سنڌي • ‎فارسی • ‎پښتو • ‎मराठी • ‎हिन्दी • ‎বাংলা • ‎ગુજરાતી • ‎தமிழ் • ‎සිංහල • ‎ไทย • ‎ဖၠုံလိက် • ‎ქართული • ‎中文 • ‎日本語 • ‎ꯃꯤꯇꯩ ꯂꯣꯟ • ‎한국어

Esta páxina describe a actual política multilingue de MediaWiki.org

Linguas

Axuda: espazo de nomes

Within the Help: namespace we are building a set of public domain help pages. The aim is to provide a basic set of help pages that may be imported into new wikis covering the basic editing and usage instructions. These should be translated into as many languages as possible.

  • O inglés é a lingua principal de referencia, todas as páxinas raíz deben ser nomeadas e escritas en inglés.
  • As subpáxinas deben ser so empregadas para as traducións a outras linguas, non para contidos en inglés (exemplo: non debes utilizar Table editing/example - utiliza Table editing example ou Example of table editing no seu lugar).
  • Se unha versión internacional dunha páxina existe pero non a súa versión en inglés, por favor crea unha páxina de código auxiliar en inglés, xa que isto axuda á navegación.

Este sistema será compatible coa prevista importación/exportación automática de páxinas de axuda, pero pode necesitar un pouco de traballo en torno á exportación / importación de páxinas non inglesas no ínterin.

Traducir extensión

Utilizamos a extensión de tradución en centos de páxinas. Estas utilizan a convención de subpáxinas, con {{#translation:}} para as categorías e {{TNT}} para os modelos traducibles.

The system is recommended at least for most visited pages and all new help, manual and (main) extension pages, but no policy has been established on this yet.

You can request a page to be added to translation by preparing it for translation, then a translation administrator will have to enable it (see the tutorial How to prepare a page for translation); otherwise, ask directly to one of the translation administrators to do it.

Sistema antigo

  • Other languages should be placed in an appropriately named sub-page of the English version. For example, the French version of Help:Contents should be at Help:Contents/fr (not Help:Contenu, Aide:Contenu or Help:Contenu/fr).
  • Language sub-pages should be named using the appropriate language code for that language (see below).
  • All pages in the help namespace should be tagged with the {{Languages}} template, which automatically creates links to all available translations.

Convertir para traducir

The pages with existing translations are usually worth being made into translatable pages. Prepare the (English) root page for translation (see the Translate extension section) and, as soon as it's marked for translation, manually import the old translations from the history of subpages to the translation units (by clicking "translate this page"). The new feature Special:PagePreparation + Special:PageMigration facilitates this (currently available only for translation administrators).

A list of pages translated with the old system, to be migrated to the new, is in the works at Project:Language policy/Migration list.

More detailed instructions:

  • 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 <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).

A páxina principal

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 Template:Main page for content of main page; you can translate it there.

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

Outros espazos de nomes

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.

For some discussions, see Languages and Translate extension at Current issues.

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.

Códigos de lingua

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 Phabricator) 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 Phabricator, 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.

Véxase tamén