[OSM-talk] Multilingual map even more flexible...
Jochen Topf
jochen at remote.org
Fri Nov 30 21:29:09 GMT 2012
Hi!
I have added some more flexibility to the map at http://mlm.jochentopf.com/
You now have to explicitly tell it when you want to fall back to the name
tag. Use the underscore (_) to do this. For instance with "fr" you'll only
get the "name:fr" tag. With "fr,_" you'll get "name:fr" and, if that doesn't
exist "name".
You can now have several languages in one label, for something like "München
(Munich)" you set it to "de|en", ie. use the vertical bar between lines. The
second line will appear in parentheses.
You can combine all of this, for instance as "fr,en|_".
Of course this isn't perfect. You can get empty parentheses for instance.
But hey, it's nice to play around with.
Jochen
--
Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298
More information about the talk
mailing list