shortbread-tiles / shortbread-docs

Documentation of the Shortbread vector tile schema
https://shortbread-tiles.org
Creative Commons Zero v1.0 Universal
28 stars 6 forks source link

Multilinguality #68

Open pnorman opened 2 hours ago

pnorman commented 2 hours ago

Multilinguality is an important goal and we should support it.

The use cases I see for multi-lingual names are

It will be up to the tileset authors which languages they want to support. This will gracefully degrade because not supporting a language is the same as that language not being on an object.

We do not want to include all possible languages on every feature - for example, a tileset with English and German would include 会津若松市 as the name and Aizuwakamatsu as the English name with nothing as the German name, even though Germans would generally prefer the English name over the Japanese one.

pnorman commented 2 hours ago

My preferred approach is to extend what we're doing with English and German to other languages. Have name_<code> attributes for each language on an object that the tileset supports.