Difference between revisions of "AerialWiki:Language policy"

From AerialWiki
Jump to navigation Jump to search
 
Line 3: Line 3:
 
[[File:150px-Geographylogo.png|right|150px|Languages]]
 
[[File:150px-Geographylogo.png|right|150px|Languages]]
  
 +
== Basics ==
 
* English is the main reference language, and all root pages should be named and written in English.
 
* English is the main reference language, and all root pages should be named and written in English.
 
* Other languages should be placed in an appropriately named sub-page of the English version. E.g. the French version of [[Help:Contents]] should be at [[Help:Contents/fr]] (not Help:Sommaire, Aide:Sommaire or Help:Sommaire/fr).
 
* Other languages should be placed in an appropriately named sub-page of the English version. E.g. the French version of [[Help:Contents]] should be at [[Help:Contents/fr]] (not Help:Sommaire, Aide:Sommaire or Help:Sommaire/fr).
 +
* Language sub-pages should be named using the appropriate language code for that language (see [[#Language codes|below]]).
 
* Sub-pages should ''only'' be used for translations into other languages, not for English content (e.g. you shouldn't use <code>Table editing/example</code> - use <code>Table editing example</code> or <code>Example of table editing</code> instead).
 
* Sub-pages should ''only'' be used for translations into other languages, not for English content (e.g. you shouldn't use <code>Table editing/example</code> - use <code>Table editing example</code> or <code>Example of table editing</code> instead).
 
* If an international version of a page exists but an English version does not, then please create a stub article for the English version as this aids navigation.
 
* If an international version of a page exists but an English version does not, then please create a stub article for the English version as this aids navigation.
 +
* All pages in the help namespace should be tagged with the <code>{{[[template:Languages|Languages]]}}</code> template, which automatically creates links to all available translations.
 +
 +
== The main page ==
 +
 +
The English version of our front page is located at [[AerialWiki]].  Translated versions are located at AerialWiki/code, where code is the language code (e.g. [[AerialWiki/fr]]).
 +
 +
Importantly, the rules about language codes (see [[#Language codes|below]]) should be followed here as well.
 +
 +
== Language codes ==
 +
 +
Throughout AerialWiki you should use the language codes specified by the MediaWiki software when creating language-specific content (see [http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/languages/Names.php 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 [[mediawikiwiki: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 [[mediawikiwiki: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. <tt>zh-yue</tt> has been replaced with <tt>yue</tt>).  In these cases only the most recent code should be used.

Latest revision as of 17:43, 7 August 2012

Language: English

This page describes the current multi-lingual policy on AerialWiki.

Languages

Basics

  • English is the main reference language, and all root pages should be named and written in English.
  • Other languages should be placed in an appropriately named sub-page of the English version. E.g. the French version of Help:Contents should be at Help:Contents/fr (not Help:Sommaire, Aide:Sommaire or Help:Sommaire/fr).
  • Language sub-pages should be named using the appropriate language code for that language (see below).
  • Sub-pages should only be used for translations into other languages, not for English content (e.g. you shouldn't use Table editing/example - use Table editing example or Example of table editing instead).
  • If an international version of a page exists but an English version does not, then please create a stub article for the English version as this aids navigation.
  • All pages in the help namespace should be tagged with the {{Languages}} template, which automatically creates links to all available translations.

The main page

The English version of our front page is located at AerialWiki. Translated versions are located at AerialWiki/code, where code is the language code (e.g. AerialWiki/fr).

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

Language codes

Throughout AerialWiki 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 mediawikiwiki: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 mediawikiwiki: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.