Difference between revisions of "Help:Language translation"
(→Language codes) |
|||
Line 49: | Line 49: | ||
! class="header" | Page Name || class="header" | Language | ! class="header" | Page Name || class="header" | Language | ||
|- | |- | ||
− | | Main Page | | + | | Main Page || English |
|- | |- | ||
| Main Page'''/ar''' || Arabic | | Main Page'''/ar''' || Arabic | ||
Line 63: | Line 63: | ||
| Main Page'''/el''' || Greek | | Main Page'''/el''' || Greek | ||
|- | |- | ||
− | | Main Page'''/es''' | | + | | Main Page'''/es''' || Spanish |
|- | |- | ||
| Main Page'''/fa''' || Persian | | Main Page'''/fa''' || Persian | ||
Line 69: | Line 69: | ||
| Main Page'''/fi''' || Finnish | | Main Page'''/fi''' || Finnish | ||
|- | |- | ||
− | | Main Page'''/fr''' | | + | | Main Page'''/fr''' || French |
|- | |- | ||
| Main Page'''/gu''' || Gujarati | | Main Page'''/gu''' || Gujarati | ||
Line 85: | Line 85: | ||
| Main Page'''/ko''' || Korean | | Main Page'''/ko''' || Korean | ||
|- | |- | ||
− | | Main Page'''/lt''' | | + | | Main Page'''/lt''' || Lituanian |
|- | |- | ||
− | | Main Page'''/lv''' | | + | | Main Page'''/lv''' || Latvian |
|- | |- | ||
| Main Page'''/mr''' || Marathi | | Main Page'''/mr''' || Marathi | ||
Line 99: | Line 99: | ||
| Main Page'''/oc''' || Occitan | | Main Page'''/oc''' || Occitan | ||
|- | |- | ||
− | | Main Page'''/pl''' | | + | | Main Page'''/pl''' || Polish |
|- | |- | ||
| Main Page'''/pt''' || Portugese | | Main Page'''/pt''' || Portugese | ||
Line 105: | Line 105: | ||
| Main Page'''/ro''' || Romanian | | Main Page'''/ro''' || Romanian | ||
|- | |- | ||
− | | Main Page'''/ru''' | | + | | Main Page'''/ru''' || Russian |
|- | |- | ||
| Main Page'''/si''' || Sinhalese | | Main Page'''/si''' || Sinhalese | ||
Line 113: | Line 113: | ||
| Main Page'''/sr''' || Serbian | | Main Page'''/sr''' || Serbian | ||
|- | |- | ||
− | | Main Page'''/sv''' | | + | | Main Page'''/sv''' || Swedish |
|- | |- | ||
| Main Page'''/th''' || Thai | | Main Page'''/th''' || Thai |
Revision as of 10:05, 16 July 2010
|
Team Fortress Wiki is capable of handling multilingual content and providing the reader a user interface in their preferred language. Multilingual editors are encouraged to translate and maintain articles in as many different languages as possible to reach the whole TF2 global community. Maintaining up to date translated articles is very important and it should be noted that it is preferential to have an up to date English article, rather than an out of date translated one.
Contents
How Team Fortress Wiki handles multiple languages
- 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).
- 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 with language sub-pages should be tagged with the
{{Languages}}
template, which automatically creates links to all available translations. This template should be added at the very bottom of each page, just above the category tags and include the page name (see template documentation for instructions). - While in the process of translating articles a
{{Trans}}
template should be applied to the page. The first parameter should be the language name (word not code) you are translating into and second should be the base language name you are using (usually English). For example, if you were translating a page from English into Russian apply a{{Trans|Russian|English}}
to the article. By doing this, the article will be categorized in a "Translating into <language name>" for others to easily find. This template should be removed once the translation is complete.
Using a different display title
Since translated pages have to be a subpage of the English version, this means that by default the page's title will show incorrectly. By using the magic word {{DISPLAYTITLE:}}, pages are permitted to have an alternative title in the correct language. Inserting {{DISPLAYTITLE:Example}} into a page will change the title that shows on the very top of the page to "Example".
The main page
The English version of our front page is located at Main Page. Translated versions are located at Main Page/code, where code is the language code (e.g. Main Page/es).
Importantly, the rules about language codes (see below) should be followed and the {{Languages}}
template must be applied.
Edit summaries
At all times when editing, edit summaries should be in English and comments on talk pages should be in English.
Categories
Categories should also have their own sub-pages for various languages by appending the language code. For example: The English main root category is located at Category:Main and the Russian main root is located at Category:Main/ru. Additionally when adding a category tag to a translated article you should add the code, thus on the German ÜberCharge article there should be a [[Category:Strategy/de]]
tag.
The various language categories should also be translated; however, currently there are issues with the {{Template:Languages}}
so this should not be added.
Links
When translating articles, the links that exist on the page should only be changed to direct to the specific language article if the page exists. If the page does not exist, then you should link to the English version of the page until the translated version has been created.
Alternatively it is acceptable to link to the translated version as long as a {{Trans|<to>|<from>}}
placeholder is added within that article (see above for details). By doing this it will provide links to other languages for anyone clicking on the original link (it will also give them instructions about translating the page).
Language codes
Throughout Team Fortress Wiki you should use the language codes specified by the software when creating language-specific content (see below).
Please also bear the following in mind:
- If the language code is not listed then it may not be supported so please do not translate pages for that language until discussed. If you want to add a language that is not present, first get it added to the software (by talking to one of the Administrators) and only add pages here once the changes have been accepted.
- If Team Fortress Wiki 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 with one of the Administrators, and if this results in it being changed we will move the pages to match.
The following table is a current list of available language codes (using Main Page as an example).
Page Name | Language |
---|---|
Main Page | English |
Main Page/ar | Arabic |
Main Page/br | Breton |
Main Page/ca | Catalan |
Main Page/cs | Czech |
Main Page/de | German |
Main Page/el | Greek |
Main Page/es | Spanish |
Main Page/fa | Persian |
Main Page/fi | Finnish |
Main Page/fr | French |
Main Page/gu | Gujarati |
Main Page/he | Hebrew |
Main Page/hu | Hungarian |
Main Page/id | Indonesian |
Main Page/it | Italian |
Main Page/ja | Japanese |
Main Page/ko | Korean |
Main Page/lt | Lituanian |
Main Page/lv | Latvian |
Main Page/mr | Marathi |
Main Page/ms | Malay |
Main Page/nl | Nederlands |
Main Page/no | Norwegian |
Main Page/oc | Occitan |
Main Page/pl | Polish |
Main Page/pt | Portugese |
Main Page/ro | Romanian |
Main Page/ru | Russian |
Main Page/si | Sinhalese |
Main Page/sq | Albanian |
Main Page/sr | Serbian |
Main Page/sv | Swedish |
Main Page/th | Thai |
Main Page/vi | Vietnamese |
Main Page/yue | Cantonese |
Main Page/zh | Chinese |
Main Page/zh-hans | Chinese (Simplified) |
Main Page/zh-hant | Chinese (Traditional) |