mapbox / mapbox/mapbox-gl-language

Support multiple languages in browser

Open
#4 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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.

preferences

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.