merkaartor icon indicating copy to clipboard operation
merkaartor copied to clipboard

Render names according to user's language

Open sebastic opened this issue 8 years ago • 0 comments

Another features request from a user of the merkaartor Debian package. Forwarded from Debian Bug #575060

On Tue, 23 Mar 2010 15:31:53 +0800 Paul Wise [email protected] wrote:

It would be nice if merkaartor could use $LANG to decide which language to draw names (and other strings) on the map. As an example:

<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='Merkaartor'>
<bound box='18.789139,98.985725,18.789139,98.985725' origin='http://www.openstreetmap.org/api/0.6' />
  <node id="178056220" lat="18.78913903" lon="98.98572463">
    <tag k="is_in:continent" v="Asia"/>
    <tag k="is_in:country" v="Thailand"/>
    <tag k="is_in:district" v="Chiang Mai"/>
    <tag k="is_in:province" v="Chiang Mai"/>
    <tag k="name" v="เชียงใหม่"/>
    <tag k="name:en" v="Chiang Mai"/>
    <tag k="name:th" v="เชียงใหม่"/>
    <tag k="place" v="city"/>
    <tag k="population" v="140000"/>
    <tag k="source" v="Wikipedia"/>
  </node>
</osm>

This is a city I visited in Thailand when I went to the recent Thai MiniDebCamp. The English name is Chiang Mai and the Thai name I cannot read due to the script being different. It would be nice if merkaartor would render name:en for me and name:th for Thai users.

http://wiki.debian.org/DebianThailand/MiniDebCamp2010

sebastic avatar Sep 21 '15 22:09 sebastic