Key:name:zh

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg name:zh
Chineselanguage.svg
Description
The feature’s name in Chinese. Use the locally appropriate Chinese dialect and spelling variant, if applicable. Use more specific keys such as name:zh-Hant (traditional) and name:zh-Hans (PRC) for other variants. Show/edit corresponding data item.
Group: names
Used on these elements
may be used on nodesmay be used on waysmay be used on areas (and multipolygon relations)may be used on relations
Requires
See also
Status: de facto

A common name in Chinese language.

Note that this tag is useful when object has names specified in more than one language:

  • If name=* is in Chinese then it specifies which language is used in main name tag
  • If name=* is in a different language then it specifies name in Chinese

Introduction

name:zh=* represent unspecified Chinese variant. Usually the script being used in the tag is the script preferred by either the object owner, frequent users, or the people of the area. In other words, most objects in Mainland China, Malaysia and Singapore with this tag would have Simplified Chinese value, while most objects in Taiwan, Hong Kong, and Macau would have Traditional Chinese value. Exception applies. Outside Chinese-speaking area the script of value in this key is generally dependent on the script preference of the first contributor in a first-come-first-serve basis and thus different nearby objects might have different scripts in this same tag, but try not to mix different scripts together within one single tag on each individual objects. However, not all editors follow this convention, which can lead to edit wars or mixed names as a result. Therefore, in these areas, Chinese language codes with script codes (Hans / Hant) or/and region codes (CN, HK, MO, TW, SG) are preferred, rather than just name:zh=*. Sometimes when name:zh=* contain one variant of Chinese, another variant of Chinese would be stored in name:zh-Hant=* and/or name:zh-Hans=* for Traditional Chinese and Simplified Chinese respectively. Otherwise, if it is desirable to render the map in only Simplified Chinese or Traditional Chinese, then transliterator could be considered, but please pay attention that all machine transliterator between Simplified Chinese and Traditional Chinese available as of today are not totally accurate and misconversion could happens because some Traditional glyph are being separately corresponded to multiple Simplified glyph while there are also some Simplified glyph that are being separately corresponded to multiple Traditional glyph.

As mentioned above, it is better to use name:zh-Hant=* and name:zh-Hans=* to represent the name written in traditional and simplified Chinese than the ambiguous name:zh=*.

Note that Simplified Chinese and Traditional Chinese should be displayed using different corresponding fonts because for some characters they share the same Unicode code point but represent different glyph in Traditional vs Simplified Chinese.

Sometimes keys like name:zh-CN=*, name:zh-HK=*, name:zh-MO=*, name:zh-SG=*, and such would be used for Chinese name of a feature in different area like China (mainland), Hong Kong, Macau, Singapore and such, when the feature's name in those regions are not the same as local Chinese name or international Chinese name. It is recommended to capitalize the country/region code (although other variants exists in the OSM database now). These tags usually contain same script in their value as the preferred script in the region they indicate.

A few features have been tagged with keys like name:zh-Hant-CN=* to represent the Chinese name for a region with alternative script.

Fallback

Traditional (left) and Simplified (right) Chinese character

When different names are used in various places, it is better to use language code with script or region. However, in many cases, the name is the same, which may lead to less use of these variant code. Therefore, a fallback list will be necessary when displaying a specific Chinese variant. The following table shows the desired fallback order (from top to bottom):

CN SG TW HK/MO
zh-Hans zh-Hant
ko-Hani[1]
zh

Usage statistics for Chinese variants

Maps in Chinese

See also

External links

Notes

  1. Although Korean is another language, its Chinese characters are written only slightly differently from traditional Chinese, which is somewhat more traditional than traditional Chinese characters in various places today. Therefore, name:ko-Hani=* can almost be regarded as traditional Chinese in terms of place names.