GRASS-Wiki:Language policy: Difference between revisions
(→The naming convention: Category Languages/code added) |
(→The naming convention: -> Page title) |
||
Line 1: | Line 1: | ||
This page describes the current multi-lingual policy on GRASS-Wiki. | This page describes the current multi-lingual policy on GRASS-Wiki. | ||
== | == Page title == | ||
The English version of our front page is located at [[GRASS-Wiki]]. Translated versions are located at GRASS-Wiki/code, where code is the language code (e.g. [[GRASS-Wiki/cs]]). | The English version of our front page is located at [[GRASS-Wiki]]. Translated versions are located at GRASS-Wiki/code, where code is the language code (e.g. [[GRASS-Wiki/cs]]). |
Revision as of 07:26, 8 July 2008
This page describes the current multi-lingual policy on GRASS-Wiki.
Page title
The English version of our front page is located at GRASS-Wiki. Translated versions are located at GRASS-Wiki/code, where code is the language code (e.g. GRASS-Wiki/cs).
Importantly, the rules about language codes (see below) should be followed here as well. When you start translating a new page, its name must follow this convention
Original name/code
for example, a page with the Czech translation of GRASS Community will be called "GRASS Community/cs".
Category Languages/code
Translated pages are collected based on category "Languages/code", see e.g. list of pages translated to Czech.
The rule is: non-English pages must contain
[[Category:Languages/code]]
i.e. for Czech it is Category:Languages/cs, German Category:Languages/de, etc.
Language codes
Throughout GRASS-Wiki 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.