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

OpenHistoricalMap labels should be in the preferred language #493

Open
1ec5 opened this issue Sep 10, 2024 · 0 comments
Open

OpenHistoricalMap labels should be in the preferred language #493

1ec5 opened this issue Sep 10, 2024 · 0 comments

Comments

@1ec5
Copy link
Contributor

1ec5 commented Sep 10, 2024

OpenHistoricalMap is currently shown with the labels in the default language, which is intended to be the local contemporary language. Perhaps users would prefer to see the labels in a consistent language matching either the frontend language settings or the server language, as requested in this forum topic.

Since OHM is being consumed in vector tiles, it’s possible to swap in other languages on the fly, as long as OHM has those alternative names. The mapbox-gl-language plugin can systematically swap label languages throughout a stylesheet. It’s a bit finicky and I’d like to write a half-decent replacement, but it should do for now. OpenHistoricalMap/openhistoricalmap-embed#8 demonstrates language switching based on a URL parameter.

@DavidMStraub DavidMStraub added the enhancement New feature or request label Sep 10, 2024
@DavidMStraub DavidMStraub removed the enhancement New feature or request label Nov 26, 2024
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

2 participants