Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multilingual labels default, don't default to English, add romanizations #14

Closed
bdon opened this issue Feb 15, 2023 · 7 comments
Closed

Comments

@bdon
Copy link
Member

bdon commented Feb 15, 2023

No description provided.

@rduivenvoorde
Copy link

@bdon thanks for this work! I was searching for ways to create a world(!) map with English/international map labels, preferably showing BOTH (or switch in the style to) the English one AND the local one.

For an emergency response org, with world coverage it would be very cool to be able to generate tiles with 'both' language labels. And be able to use this (in QGIS) with only local resources (so non-connected laptops can just have their own basemap.

Had a look into https://github.com/protomaps/basemaps/blob/main/tiles/src/main/java/com/protomaps/basemap/names/OsmNames.java but it looks like just one name is saved into the tile objects?

One issue I have with other Tool chains is to setup the fonts for all local languages.

Again, Thanks for this work!

@bdon
Copy link
Member Author

bdon commented Oct 30, 2023

I think an option for dual-stack labels is in scope for our default map style - top is the chosen language, bottom is the local language. This will require some tile-side logic like parsing out / from OSM name: tags, and I'm not sure how cleanly this can be done with static JSON styles - we don't want show both labels if they're exactly the same, for example.

As of right now it should have most name:* tags in the style so you can find and replace name in the symbol layers in the style to access those.

I'm making progress on #41 which is a prerequisite to this as you mentioned.

@wipfli
Copy link
Collaborator

wipfli commented Dec 12, 2023

I would solve this problem country by country. OpenStreetMap does not have a consistent way of handling multilingual place labels, and automating based on OSM data could be hard. Similar for Wikidata I think.

But we could go through the countries one by one, and have a look how much sense the top n cities make based on their QRank value.

@nvkelso
Copy link
Collaborator

nvkelso commented Dec 12, 2023

Also related in #44.

@wipfli
Copy link
Collaborator

wipfli commented Feb 19, 2024

@bdon
Copy link
Member Author

bdon commented Feb 20, 2024

@wipfli we need something that's license compatible, deriving from that file is GPL however.

@bdon
Copy link
Member Author

bdon commented Feb 12, 2025

Closing this as completed, current status is https://docs.protomaps.com/basemaps/localization

Further improvements in #276

@bdon bdon closed this as completed Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants