Settlement subdivision and POI labels are not translated to the device locale language in Standard style
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start by reproducing the issue on Android with Mapbox Standard style in a French device locale, focusing on the settlement-subdivision-label and poi-label layers. Review the documented localizeLabels() behavior and the available name and name_en feature properties; done means both label types use the device locale rather than defaulting to English.
Written by the indexing model from the issue text.
Description
Environment
- Android OS version: All
- Devices affected: All
- Maps SDK Version: 11.17.1
Observed behavior and steps to reproduce
When using Mapbox Standard style, map labels for settlement-subdivision-label and poi-label layers are displayed in English instead of the device's locale language.
The phone is configured in French, but labels like arrondissements and some POIs are shown in English as you can see in the screenshot below.
Steps to reproduce:
- Set device language to French
- Load a map using Mapbox Standard style
- Observe that settlement-subdivision-label and poi-label are displayed in English
Expected behavior
The map labels should display in the user's device locale language (French in this case). Labels for settlement subdivisions (arrondissements) and points of interest should respect the device's language settings.
Notes / preliminary analysis
According to the documentation, localizeLabels() does not work with Mapbox Standard style
However, the Feature Properties documentation shows that multilingual data is available in the tileset:
- name - Name in local language
- name_en - Name in English
This suggests the Standard style is using name_en by default instead of respecting the device locale.
- Dominant language
- Kotlin
- Stars
- 577
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from mapbox/mapbox-maps-android
-
bug :beetle:
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
mapbox/mapbox-maps-android#2727 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
mapbox/mapbox-maps-android#2733 ·
-
bug :beetle:
Difficulty 4/5 3-5 days Newbie friendliness 50/100
mapbox/mapbox-maps-android#2732 ·
-
auto-triaged bug :beetle:
Difficulty 4/5 3-5 days Newbie friendliness 45/100
mapbox/mapbox-maps-android#2731 · 4 reactions ·
-
bug :beetle:
Difficulty 4/5 3-5 days Newbie friendliness 48/100
mapbox/mapbox-maps-android#2730 ·
All issues in mapbox/mapbox-maps-android
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
sqldelight/sqldelight#6382 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
521xueweihan/HelloGitHub#3846 ·
-
Bug Domain changed
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
keiyoushi/extensions-source#19624 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 5 days