mapbox / mapbox/mapbox-gl-language
Support multiple languages in browser
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 204
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
Right now we take the first language and if not supported fall back to english.
But let's say in my case i first want something tried in german, then english, then french and then... until the local language.
So we could follow the user agent languages down until the first language our maps support and only then fall back to the default style language.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named in the issue. Start by locating the browser language selection and supported-language map, then verify that the browser's ordered languages are checked until a supported language is found before the default style language is used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, localization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100