Is it acceptable to use ISO 639-2 language codes for tags in languages that do not have a ISO 639-1 code? Examples are Cherokee (chr) and Muscovee (mus). asked 16 Feb '11, 16:59 Baloo Uriza edited 30 Oct '14, 13:16 aseerel4c26 ♦ |
2 Answers:
Yes. The only reason for using ISO 639-1 is that it's familiar to a lot of people, but since you can use any tags you like in OpenStreetMap, it's OK to use ISO 639-2 for languages that need three letters. answered 16 Feb '11, 17:08 Jonathan Ben... |
Actually the codes to use are the standard codes from the "BCP 47" standard, which contains:
These codes (in lowercase only) may be followed by suffixes separated by dashes (-) for
Those codes are to be used to mark tags that contain translated values, such as
Do not confuse these codes with those used as tag suffixes or prefixes to mark that a tag interpretation is country-specific (in that case the ISO 3166-1 regions codes are all uppercase), independantly of the language, such as:
answered 29 Apr '16, 16:43 verdy_p edited 29 Apr '16, 16:46 |
Tagging is open but it is also a good practice to document the tags on the wiki. So if you decide to use ISO 639-2 in tag "name:*", you should explain it in https://wiki.openstreetmap.org/wiki/Name, section i18n
Looks like it's actually l8n
There is also the wiki page for https://wiki.openstreetmap.org/wiki/Multilingual_names
It says to use the language's ISO 639-1 code, or ISO 639-2 if an ISO 639-1 code doesn't exist. The Wiki page for key:name should probably mention this, and link to that page.
According to wikipedia, ISO 639-3 is an even more comprehensive list than ISO 639-2 http://en.wikipedia.org/wiki/ISO_639-3