Hacker News new | ask | show | jobs
by karussell 1357 days ago
It is not possible with raster tiles, but the OSM database might still have the name in English.

(You can have a look into vector tiles like from MapTiler or their open source project openmaptiles.org)

I just found this example (has nothing to do with openmaptiles as far I can see): https://js.protomaps.com/examples/multi_language.html

1 comments

It actually is possible with raster tiles as well - see e.g. the local chapter work in France ( https://www.openstreetmap.fr ) or Germany ( https://www.openstreetmap.de ) or the osMap project with 10 different language versions ( https://wiki.openstreetmap.org/wiki/osMap ). All those are produced with raster tiles.

But you are right as this approach does not scale well in regard to using it for all languages out there. So a vector tile stack is a better approach for just switching languages.

Yes, I meant switching languages is not possible. Of course you can pre-generate your raster in many languages...