mapbox / mapbox/mapbox-maps-flutter
localize labels appears to be broken
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 380
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to display a map with localized labels, using the StyleManager function `localizeLabels` which according to documentation should do just do that
> Function to localize style labels.
> @param locale The locale to apply for localization @param layerIds The ids of layers that will localize on, default is null which means will localize all the feasible layers.
But testing with different common locales like below seems to change absolutely nothing
`
await mapboxMap?.style.localizeLabels('es', null);`
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
Start with the StyleManager entry point `localizeLabels` and reproduce the issue using `await mapboxMap?.style.localizeLabels('es', null);` on a map with visible labels. Check the documented locale and layerIds behavior; done means applying a common locale visibly changes eligible map labels.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- localization, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100