Si:Wiki Translation

From OpenStreetMap Wiki
Jump to navigation Jump to search

Chart of world writing systems.svg

Wiki Translation can be a good way to help develop the project across the world. The wiki holds a lot of important help content and documentation. We'd like to make at least some of this available in other languages. Note that translation efforts in other areas of the project are equally important if not more so (they usually happen on Translatewiki.net).

Community cohesion

Unlike wikipedia, we are not aiming to capture vast amounts of knowledge in the wiki. Wikipedia decided that the best way to build their encyclopaedia was to split the communities up by language, and run them as almost entirely separate projects. The situation here is entirely different. The wiki is not the project. Translating wiki pages should be an exercise in improving community cohesion, helping everyone to understand each other, and ultimately helping to build the maps!

With this in mind we haven't deployed exactly the same wiki technology to support translations. We want the small fledging groups of people who do not speak English to feel welcome, and to have all the information they need, but we also want the community as a whole to stay together and stay focussed.

Wiki translation progress

Wiki translation is taking place on a somewhat ad-hoc basis, and you are encouraged to join in, but we also need to try and get more organised about this.

Translation efforts are still in very early stages in many languages. There are some wiki pages which are more important than others, so concentrate on these pages first.

Wiki translations HOWTO

Find the English version of a page in the main namespace.
(If there is no english version, you create one by following the HOWTO).

If the languages tool bar is not displayed at the top (as you see on this page for example) then edit the page, and add the following wiki text:

{{Languages|Page_name}}

While you're editing, copy the wiki text of the entire page to your clipboard. ...now 'Save'

Where it says 'other languages', click 'show' and follow a red link to begin creating the new wiki page. Paste in the english text and start rewriting it in your language. The new page title should have a language prefix.

Note: due to technical reasons (limitations in the parser functions defined in the MediaWiki software showing this wiki), not all pages with existing translations will show by default in the list of available languages, but only languages for major languages of the world. The many other languages will be displayed in the second list of 'Other languages' without being tested for their existence, so this list may show both red links (missing major or minority languages), and blue links (missing minority languages). A solution is being developed and tested to solve this problem of inequal visibility, without using "costly" parser functions.

See also Wiki Help.

Note: before saving the new page, your language is shown as a missing language in the preview. However, after you have saved it, your language is still shown in the missing language box with black colour and bold type. This strange thing is caused by a template cache. Purge cache to rescan the available languages. Your language will be shown as available.

භාෂා සැකිලි සඳහා උපදෙස්

This is a template that lists all languages available. It is based on parser functions from mediawiki and the ISO 639-1 language code.

Brief instruction

  1. All page names are in English.
    Every translated page needs a page name with a language code as a prefix, followed by a colon and the english page name.
    1. If the "plain" English page name content is written in English, the English page name does not have a prefix in the file name.
      Example: Page_name (English content) - FR:Page_name - DE:Page_name
    2. If the "plain" English page name should be a redirect to a page in some other language, the english translated page does need a prefix of "EN".
      Example: Page_name (redirect to non-english page) - EN:Page_name - FR:Page-name - DE:Page_name
  2. the following has to be included in each page: {{Languages|Page_name}}

If you click on "missing languages", and then you click on a red link, it automatically opens a new page with the right suffix and the right page name. Copy the original text to this page and translate it. In the first line you put {{Languages|Page_name}}

Example for actually implemented name spaces and languages (2009-06):

Page_name (English)
DE:Page_name (German)
EN:Page_name (English)
ES:Page_name (Spanish)
FR:Page_name (French)
IT:Page_name (Italian)
NL:Page_name (Dutch)
UK:Page_name (Ukrainian, not United Kingdom!!!)

This automatically generates a language menu consisting of links to the original page (in English) and all translated pages. The links are written in the respective language: Deutsch, English, French, etc.

Note that prefixes are in uppercase only for a few languages that have dedicated namespaces on this wiki. If ou don't know when to use capital letters or lowercase letters for these prefixes, just write them all in lowercase only, the links will still work with the few languages whose code is uppercase in their dedicated namespace. For example:

Page_name (English)
de (German)
en:Page_name (English)
es:Page_name (Spanish)
fr:Page_name (French)
it:Page_name (Italian)
nl:Page_name (Dutch)
uk:Page_name (Ukrainian, not United Kingdom!!!)
vi:Page_name (Vietnamian)

This lowercase-only rule helps maintaining consistancy, and voids creating many unnecessary redirects between translated pages, and it is also consistant with the usage found elsewhere (notably in Wikimedia sites, or in BCP47 recommendations).

Translated pages with a title in a non-English language

Pages with names in a national language or other names can create the automatic menu by redirect:

  • Let's suppose that the English page name is "Page_name". Then,
  • Start translating that page in "XX:Page_name", where "XX" is the target language code for your translation (follow the red link present in the top header of the English page, if your language is already listed there).
  • Create a new page XX:Translated title of Page_name
    (please keep the language code prefix to avoid collisions with similar titles in other languages).
    Add the following code to that page:
    #REDIRECT [[XX:Page_name]]

Interface selection

This procedure is no longer needed. The standard template can now autodetect the language used on the page where it is inserted and provide the necessary description and help in that language. See Template:Available languages and Template:Missing languages if you want to translate these two titles.

If you want to change the design of the bar, translate messages or change where the help bottom links to, you can do it by adding the 2nd parameter of your design template.

{{Languages|Key:highway|Fi:Languages/Interface}}

Copy the Template:Languages/Interface as your first template.

Note: Technically, you can make a interface with the translated language as above, it is not recommended to use. Because this template is set for other language users to go back to their language versions, the translated messages can not be read for them. See also this discussion page.

Language prefixes and namespaces

broom

Help (89606) - The Noun Project.svg

Many languages are supported merely as a wiki page naming convention, while some of the more widely used ones are set up as proper namespaces within the wiki software, allowing features like tickboxes on the advanced search. Pages can be listed by prefix (for any language) using Special:PrefixIndex.

Note that only a few languages (for which there are ample contents on this wiki and enough maintainers) have a dedicated namespace on this wiki (for historic reasons, these namespaces are using capital letters). These namespaces allow to perform searches in the many pages created in those languages. Most languages won't have this dedicated namespace. This wiki should progressively be updated to use autotranslatable templates (in a way similar to Wikimedia Commons), instead of having to maintaining a lot of separate pages for each language, for contents that can be maintained in one place independantly of the language displayed.

All other translated pages are stored in the main namespace, using a language-code prefix that should be written in lowercase (only the first letter of the prefix will be automatically uppercased, but this letter case is not significant). This wiki may still contain a few languages for which the language code was uppercased. But to ease the maintenance of links be consistant with the letter case of codes already used in the Languages template shown at the top of translated pages.

For new language, please use language codes conforming to the BCP 47 standard — check the Registry of language subtags on the IANA.org site (according to the BCP 47 standard, currently in RFC 5646): generally this means using the ISO 649-1 two-letter code where it exists, otherwise the two-letter technical ISO 646-2 language code, otherwise the three-letter ISO 649-3 code; avoid using obsolete language codes that are marked in this registry as being replaced by another one, or deprecated and merged into another one; for some languages, the language code may be followed by a ISO 15924 script code; it may also be followed by a ISO 3166-1 country/region code, but this usage is no longer recommended for coding a language variant, and this wiki will prefer to be really international and edited in a way acceptable in all regions where the same language is written.

Note also that a few language codes used for Wikipedia editions (and in interwiki links) do not apply to this scheme, for historical reasons, and have still not been converted or redirected to use the recommended BCP 47 codes (which is the universal standard for the web).

Language code Name Native name Prefix or namespace Status
ab ඇබ්කාසියානු аԥсшәа Ab: Unlisted
af අෆ්‍රිකාන්ස් Afrikaans Af: Listed
am ඇම්හාරික් አማርኛ Am: Unlisted
an ඇරගොනීස් aragonés An: Unlisted
ar අරාබි العربية Ar: Listed
as ඇසෑම් অসমীয়া As: Unlisted
ast ඇස්ටියුරියන් asturianu Ast: Listed
av ඇවරික් авар Av: Unlisted
ay අයිමරා Aymar aru Ay: Unlisted
az අසර්බයිජාන් azərbaycanca Az: Listed
ba බාෂ්කිර් башҡортса Ba: Unlisted
be බෙලරුසියානු беларуская Be: Listed
bg බල්ගේරියානු български Bg: Listed
bm බම්බරා bamanankan Bm: Unlisted
bn බෙංගාලි বাংলা Bn: Listed
bo ටිබෙට් བོད་ཡིག Bo: Unlisted
br බ්‍රේටොන් brezhoneg Br: Listed
bs බොස්නියානු bosanski Bs: Listed
ca කැටලන් català Ca: Listed
co කෝසිකානු corsu Co: Unlisted
cs චෙක් čeština Cs: Listed
cy වෙල්ෂ් Cymraeg Cy: Unlisted
da ඩැනිශ් dansk Da: Listed
de ජර්මන් Deutsch DE: Listed
diq Zazaki Zazaki Diq: Listed
dv ඩිවෙහි ދިވެހިބަސް Dv: Unlisted
el ග්‍රීක Ελληνικά El: Listed
en ඉංග්‍රීසි English : Listed
eo එස්පැරන්ටෝ Esperanto Eo: Listed
es ස්පාඤ්ඤ español ES: Listed
et එස්තෝනියානු eesti Et: Listed
eu බාස්ක් euskara Eu: Listed
ext Extremaduran estremeñu Ext: Unlisted
fa පර්සියානු فارسی Fa: Listed
fi ෆින්ලන්ත suomi Fi: Listed
fr ප්‍රංශ français FR: Listed
fy බටහිර ෆ්‍රිසියානු Frysk Fy: Listed
ga අයර්ලන්ත Gaeilge Ga: Unlisted
gcf kréyòl gwadloupéyen kréyòl gwadloupéyen Gcf: Listed
gd ස්කොට්ටිශ් ගෙලික් Gàidhlig Gd: Listed
gl ගැලීසියානු galego Gl: Listed
gsw ස්විස් ජර්මානු Alemannisch Gsw: Unlisted
gu ගුජරාටි ગુજરાતી Gu: Unlisted
ha හෝසා Hausa Ha: Unlisted
he හීබෲ עברית He: Listed
hi හින්දි हिन्दी Hi: Unlisted
hr කෝඒෂියානු hrvatski Hr: Listed
ht හයිටි Kreyòl ayisyen Ht: Listed
hu හන්ගේරියානු magyar Hu: Listed
hy ආර්මේනියානු հայերեն Hy: Listed
ia ඉන්ටලින්ගුආ interlingua Ia: Listed
id ඉන්දුනීසියානු Bahasa Indonesia Id: Listed
ie Interlingue Interlingue Ie: Unlisted
ig ඉග්බෝ Igbo Ig: Unlisted
is අයිස්ලන්ත íslenska Is: Listed
it ඉතාලි italiano IT: Listed
ja ජපන් 日本語 JA: Listed
jv ජාවා Jawa Jv: Unlisted
ka ජෝර්ජියානු ქართული Ka: Listed
kk කසාඛ් қазақша Kk: Unlisted
km කමර් ភាសាខ្មែរ Km: Unlisted
kn කණ්ණඩ ಕನ್ನಡ Kn: Unlisted
ko කොරියානු 한국어 Ko: Listed
ku කුර්දි kurdî Ku: Listed
ky කිර්ගිස් кыргызча Ky: Unlisted
la ලතින් Latina La: Unlisted
lb ලක්සැම්බර්ග් Lëtzebuergesch Lb: Listed
li ලිම්බර්ගිශ් Limburgs Li: Unlisted
lo ලාඕ ລາວ Lo: Unlisted
lt ලිතුවේනියානු lietuvių Lt: Listed
lv ලැට්වියානු latviešu Lv: Listed
mg මලගාසි Malagasy Mg: Unlisted
min මිනන්ග්කබාවු Minangkabau Min: Unlisted
mk මැසිඩෝනියානු македонски Mk: Listed
ml මලයාලම් മലയാളം Ml: Listed
mn මොංගෝලියානු монгол Mn: Listed
mr මරාති मराठी Mr: Listed
ms මැලේ Bahasa Melayu Ms: Listed
mt මොල්ටිස් Malti Mt: Unlisted
my බුරුම မြန်မာဘာသာ My: Listed
nan මින් නන් චයිනිස් Bân-lâm-gú Nan: Unlisted
nds පහළ ජර්මන් Plattdüütsch Nds: Unlisted
nds-nl පහළ සැක්සන් Nedersaksies Nds-nl: Unlisted
ne නේපාල नेपाली Ne: Listed
nl ලන්දේසි Nederlands NL: Listed
nn නෝර්වීජියානු නයිනෝර්ස්ක් norsk nynorsk Nn: Listed
no Norwegian norsk No: Listed
oc ඔසිටාන් occitan Oc: Listed
om ඔරොමෝ Oromoo Om: Unlisted
or ඔඩියා ଓଡ଼ିଆ Or: Unlisted
pa පන්ජාබි ਪੰਜਾਬੀ Pa: Listed
pl පෝලන්ත polski Pl: Listed
pnb Western Punjabi پنجابی Pnb: Listed
ps පෂ්ටො پښتو Ps: Listed
pt පෘතුගීසි português Pt: Listed
pt-br බ්‍රසීල පෘතුගීසි português do Brasil Pt-br: Deprecated→ pt
ro රොමේනියානු română Ro: Listed
ro-md මොල්ඩවිආනු română Ro-md: Deprecated→ ro
ru රුසියානු русский RU: Listed
sa සංස්කෘත संस्कृतम् Sa: Unlisted
sc සාර්ඩිනිඅන් sardu Sc: Listed
sd සින්ධි سنڌي Sd: Unlisted
si සිංහල සිංහල Si: Listed
sk ස්ලෝවැක් slovenčina Sk: Listed
skr Saraiki سرائیکی Skr: Listed
sl ස්ලෝවේනියානු slovenščina Sl: Listed
so සෝමාලි Soomaaliga So: Unlisted
sq ඇල්බේනියානු shqip Sq: Listed
sr සර්බියානු српски / srpski Sr: Listed
sr-latn Serbian (Latin script) srpski (latinica) Sr-latn: Listed
su සන්ඩනීසියානු Sunda Su: Unlisted
sv ස්වීඩන් svenska Sv: Listed
sw ස්වාහිලි Kiswahili Sw: Unlisted
ta දෙමළ தமிழ் Ta: Listed
te තෙළිඟු తెలుగు Te: Unlisted
tg ටජික් тоҷикӣ Tg: Unlisted
th තායි ไทย Th: Listed
tk ටර්ක්මෙන් Türkmençe Tk: Unlisted
tl Tagalog Tagalog Tl: Listed
tr තුර්කි Türkçe Tr: Listed
tzm මධ්‍යම ඇට්ලස් ටමසිට් ⵜⴰⵎⴰⵣⵉⵖⵜ Tzm: Listed
ug උයිගර් ئۇيغۇرچە / Uyghurche Ug: Unlisted
uk යුක්රේනියානු українська Uk: Listed
ur උර්දු اردو Ur: Unlisted
uz උස්බෙක් oʻzbekcha/ўзбекча Uz: Unlisted
vec Venetian vèneto Vec: Unlisted
vi වියට්නාම් Tiếng Việt Vi: Listed
wa වෑලූන් walon Wa: Unlisted
wo වොලොෆ් Wolof Wo: Unlisted
wuu වූ චයිනිස් 吴语 Wuu: Unlisted
xh ශෝසා isiXhosa Xh: Unlisted
yi යිඩිශ් ייִדיש Yi: Unlisted
yo යොරූබා Yorùbá Yo: Unlisted
yue කැන්ටොනීස් 粵語 Yue: Listed
za Zhuang Vahcuengh Za: Unlisted
zh චීන 中文 Zh: Unlisted
zh-hans සරල චීන 中文(简体) Zh-hans: Listed
zh-hant සාම්ප්‍රදායික චීන 中文(繁體) Zh-hant: Listed
zh-tw Chinese (Taiwan) 中文(臺灣) Zh-tw: Deprecated→ zh-hant
zu සුලු isiZulu Zu: Unlisted

Notes:

  • The Min Nan language spoken in Taiwan ("zh-min-nan-TW" in the old RFC 3066, or better now "nan-TW" or just "nan", see BCP 47) is normally written in the Latin script (rather than the simplified Han script, for which it is almost impossible to differentiate from Chinese written with the Simplified Han orthography), and has its own distinctive language code "nan". Taiwanese Chinese (zh-TW) is completely unrelated to Min Nan; the use of zh-TW is deprecated, use Traditional Chinese ("zh-Hant") instead. Feel free to create pages translated in Min Nan, if you need, using the standard "nan" language code.
  • See Chinese Wikipedia for informations about Chinese languages on WP ! If the transcoder is implemented here on this wiki, we would no longer need to maintain separate pages with orthographic differences between "zh-Hans" (essentially the same for the P.R. of China mainland, and Singapore) and "zh-Hant" (essentially the same for Taiwan, Hong Kong SAR, and Macau SAR)
  • Since Moldavian "ro-md"/"mo"" is not needed and should be removed! See Closure of Moldovan Wikipedia ! The only remaining difference of Moldovan was when the Romanian language was written in the Cyrillic script by people living in Moldova before its independance from USSR. The Russian minority living in the cessessionist Eastern part of Moldova, use the Russian language written in the Cyrillic scipt, not Moldovan/Romanian, but the other Moldovans do speak Romanian (with just minor vocabulary differences that have been developed when Moldova was occupied by USSR, differences that are now disappearing fast with the increased exchanges with Romanian medias and the return to the use of the Latin alphabet, and with which people of both countries can coexist with an excellent and evident mutual understanding.