OpenStreetBrowser/Howto translate

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — OpenStreetBrowser/Howto translate
Afrikaans Alemannisch aragonés asturianu azərbaycanca Bahasa Indonesia Bahasa Melayu Bân-lâm-gú Basa Jawa Baso Minangkabau bosanski brezhoneg català čeština dansk Deutsch eesti English español Esperanto estremeñu euskara français Frysk Gaeilge Gàidhlig galego Hausa hrvatski Igbo interlingua Interlingue isiXhosa isiZulu íslenska italiano Kiswahili Kreyòl ayisyen kréyòl gwadloupéyen kurdî latviešu Lëtzebuergesch lietuvių magyar Malagasy Malti Nederlands Nedersaksies norsk norsk nynorsk occitan Oromoo oʻzbekcha/ўзбекча Plattdüütsch polski português română shqip slovenčina slovenščina Soomaaliga suomi svenska Tiếng Việt Türkçe Vahcuengh vèneto Wolof Yorùbá Zazaki српски / srpski беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް

Location of translations

OpenStreetBrowser translations are spread over files in different repositories. These are (maybe not complete):

First you need the ISO-639-1 code of your language (e.g. en for English or de for German). For example, if your language code is de, you have to name all language files de.json.

You should copy the file `en.json` (or, if available, `template.json`) to your translation and adapt the values.

-> See an overview how well each language is translated on the Languages page.

Notes

Singular / Plural

If you will find a value which looks like this:

 "tag:amenity": {
   "message": "Amenity",
   "!=1": "Amenities"
 },                                                                            

The "message" will be the default (and singular) value. !=1 the value if the count of objects is 0 or plural. It's not necessary to translate plurals as well, they are not used (yet). You can just replace this by:

 "tag:amenity": "Amenity in your language",

Non translated values

If a value is null or "", this value counts as not being translated yet. The English translation will be used instead.