A translation is a subpage named after its language code. The German version of
Lazarus Tutorial is Lazarus Tutorial/de, the Brazilian Portuguese one Lazarus Tutorial/pt_BR.
The page without a code is the English one.
The language bar
editAs soon as a page has a translation, every version shows a language bar under the title. It names each version in its own language: English, Deutsch, français, 日本語, and so on. The wiki makes the bar itself; there is nothing to add to the page.
The old {{LanguageBar}} template is no longer needed. Where it is still in a page, it does nothing.
Translating a page
edit- Open the English page and note its name, for example
Lazarus Tutorial. - Open the page with
/and the language code added, such as/Lazarus_Tutorial/fr. It does not exist yet, so choose Create the page. - Write the translation and save. The language bar on all versions now lists it.
Links inside a translation point to translated pages where they exist: [[Lazarus IDE/fr]].
Put the translation in the categories of its language, such as Tutorials/fr (see Help:Category).
Language codes
editThe codes are those of the old wiki. Case matters: zh_CN and pt_BR, not zh_cn. Some of them:
| Code | Language | Code | Language |
|---|---|---|---|
de |
Deutsch | ja |
日本語 |
es |
español | ko |
한국어 |
fi |
suomi | pl |
polski |
fr |
français | pt |
português |
hu |
magyar | pt_BR |
português do Brasil |
it |
italiano | ru |
русский |
nl |
Nederlands | sk |
slovenčina |
uk |
українська | zh_CN |
中文(中国大陆) |
tr |
Türkçe | zh_TW |
中文(台灣) |
A subpage whose last part is no language code (Lazarus Tutorial/Exercises) is an ordinary subpage.