GRASS-Wiki:Language policy

From GRASS-Wiki
Revision as of 12:33, 13 September 2009 by ⚠️Torecki (talk | contribs) (Übersetzungsanfang, Fortsetzung folgt)
Jump to navigation Jump to search

Du möchtest Seiten für dieses Wiki übersetzen? Großartig, lies bitte weiter! Diese Seite beschreibt die momentanen Grundsätze zur Mehrsprachigkeit im GRASS-Wiki. Alle Seiten sind nach einigen Minuten automatisch im Verzeichnis der Seiten und der Link zur Seite erscheint auf der linken Seite im Menü.

Page title

Die Englische Version der "front page" befindet sich hier: GRASS-Wiki. Übersetzte Versionen sind im GRASS-Wiki/code wobei mit "code" der Sprachcode z. B. GRASS-Wiki/cs für die Tschechische Sprache gemeint ist. 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 for Czech language). It is important to follow the language codes rules in order to enable Mediawiki to auto-index the translation (for language codes, see below).

When you start translating a page to a new language, 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", Indonesian is "GRASS Community/id", for German it becomes "GRASS Community/de" etc.

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 at bottom

[[Category:Languages/code]]

i.e. for Czech it is Category:Languages/cs, German Category:Languages/de, etc.

Template "Trans"

We have the template Trans for master pages which are undergoing the process of translation. Please add it if you don't complete the translation so that you/others can easily find it back:

{{Trans|Russian|English}}

This template is to be removed when the translation of the page is finished.

Language codes

Throughout the 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 (but this won't apply to the majority of languages!):

  • If the language code is not found in Names.php then we should not host help pages in that language (since the indexing mechanism would fail)
  • If you want to add a language that is not present in Mediawiki, first get it added to the software (by making a request at Bugzilla) and only add pages here once the changes have been accepted and the GRASS Wiki been updated accordingly.
  • 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.