Changeset: 64357571
standardization of zh-Hant, zh-Hans, nan and lzh language codes (and other minor fixes)
Closed by jc86035
Tags
created_by | JOSM/1.5 (14382 en) |
---|
Discussion
-
Comment from woodpeck
Has this large-scale and, I presume, mechanical edit been discussed and documented anywhere? If not, it would be against the rules and should be reverted.
-
Comment from jc86035
No, but in this particular case I wouldn't expect the changes to be controversial in any way, and I endeavoured to check as many of the changes as possible (although this was difficult due to the large number of country relations that were in the dataset). None of the changes impact rendering on the main osm.org map, although I would expect them to significantly improve rendering on localized maps like those of Wikimedia Maps.
• Who would I be discussing this change with? Most of these tags were added by a very small number of users who (possibly incorrectly) imported names from Wikipedia or their own data tables, or were added because of the iD language code bug (see below).
• name:xx keys are based on IETF language tags, at least according to the OSM wiki. All of the language codes involved have relevant codes, so I would expect the keys to use those codes.
• I have chosen to capitalize "Hant" and "Hans" because "Latn" is far more commonly used than "latn", and IETF language tags use the uppercase letter.
• Other variants in use in OSM tags: "zh_hant", "zh-hant", "zh-trad" and "zh-traditional"; "zh_hans", "zh-hans" and "zh-simplified". Their meaning is hopefully unambiguous.
• "zh-min-nan" is not an ISO 639 code and is based on the Wikipedia language code for Southern Min. I changed it to "nan". (It is technically difficult to change a Wikipedia edition's language code, as doing so introduces a large number of technical issues that have still not been resolved for the language edition for which this has been done. The Southern Min Wikipedia predates ISO 639-3 by five years, so there was no standard language code for it at the time of its creation. Nevertheless, iD uses the Wikipedia language codes for multilingual names (the issue has been open for almost four years https://github.com/openstreetmap/iD/issues/2457), introducing tagging errors for several languages.)
• "zh-classical" is not an ISO 639 code and is based on the Wikipedia language code for Classical Chinese (I have no idea why these were imported, to be honest). I changed it to "lzh".
• I changed several "zh_py" tags to "zh_pinyin". The latter is much more commonly used and it is impossible to misinterpret the former as meaning something else.
• I made most country codes uppercase. There are very few objects with these tags, and most of them are unnecessary. I opted to uppercase them where they were used in the dataset to match the IETF language tags.
• "Minor" fixes also include key changes for name:pt-br, name:pt-pt, name_zh_classical, and several other keys. I could not use the JOSM validator because of the large number of country relations, although it may be possible by using the reverter on this changeset. -
Comment from woodpeck
The automated edit guidelines at https://wiki.openstreetmap.org/wiki/Automated_Edits_code_of_conduct say:
Documentation should be placed on the wiki and the proposal should then be discussed on a suitable mailing lists:
Either talk (a general purpose mailing list)
or imports, when discussing imports or issues with previous imports
or if your edit affects only one country or territory then the national-language mailing lists, forums, or other standard communication methods for the territory affected by the change
or if your edit affects only a town or small region, the local mailing list, forums, or other standard communication methods of the area affected by the change.So thank you for the list of things that you decided to edit and the rationale behind it - but next time it would be really good to post that upfront and ask for comments.
-
Comment from شاعر
مصر
- 东长安街 (4484630), v33
- 東碇島 (9216199), v10
- 黄河 (23213564), v16
- 黄河 (23213653), v17
- Сож (25028353), v13
- Сож (25028442), v7
- Сож (25030235), v17
- 故宫 (25109772), v52
- 鸭绿江 / 압록강 (28279043), v15
- 黄河 (28507232), v24
- 黄河 (28507318), v10
- 黄河 (28507326), v11
- 黄河 (28658595), v31
- 黄河 (29494013), v25
- 黄河 (29494299), v11
- 黄河 (29494307), v14
- 黄河 (29494501), v18
- 黄河 (29543806), v22
- 黄河 (29543824), v17
- 黄河 (29543885), v12
- Deutschland (51477), v1656
- Česko (51684), v795
- Schweiz/Suisse/Svizzera/Svizra (51701), v478
- België / Belgique / Belgien (52411), v854
- Sverige (52822), v282
- Føroyar (52939), v24
- Shqipëria (53292), v169
- Македонија (53293), v290
- Crna Gora / Црна Гора (53296), v198
- Suomi (54224), v201
- Wales (58437), v346
- England (58447), v404
- Moldova (58974), v283
- Беларусь (59065), v738
- Brasil (59470), v542
- Россия (60189), v1539
- Україна (60199), v951
- United Kingdom (62149), v728
- Isle of Man (62269), v55
- Ireland (62273), v618
- Ghana (424313836), v59
- Kenya (424313903), v65
- الكويت (424313936), v58
- Tanzania (424314335), v59
- Côte d'Ivoire (424314691), v71
- Ísland (424314784), v74
- ኤርትራ إرتريا (424316022), v68
- Uganda (424317406), v50
- Algeria (432424926), v75
- Centrafrique (432424956), v68
- ليبيا (432425023), v60
- Madagascar (432425028), v60
- 臺灣 (432425099), v99
- Singapore (531668011), v30
- 臺北市 (1147314253), v40
- Ireland (1420871007), v34
- 四号境界碑 - 4호경계비 (1550703246), v6
- 五号境界碑 - 5호경계비 (1550703367), v7
- 安图县 (1590460666), v9
- België - Belgique - Belgien (1684793666), v29
Welcome to OpenStreetMap!
OpenStreetMap is a map of the world, created by people like you and free to use under an open license.
Hosting is supported by Fastly, OSMF corporate members, and other partners.
https://openstreetmap.org/copyright | https://openstreetmap.org |
Copyright OpenStreetMap and contributors, under an open license |