Settlement subdivision and POI labels are not translated to the device locale language in Standard style
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
調査の方向性
まず、フランス語のデバイスロケールで Mapbox Standard style を使用している Android 上で問題を再現し、settlement-subdivision-label レイヤーと poi-label レイヤーに焦点を当てます。文書化されている localizeLabels() の動作と、利用可能な name および name_en feature プロパティを確認します。両方のラベルタイプがデフォルトで英語に戻るのではなく、デバイスロケールを使用すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Kotlin
- スター
- 577
- フォーク
- 161
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mapbox/mapbox-maps-android のほかの issue
-
bug :beetle:
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
mapbox/mapbox-maps-android#2727 ·
-
bug :beetle:
難易度 5/5 1週間以上 初心者へのやさしさ 22/100
mapbox/mapbox-maps-android#2734 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
mapbox/mapbox-maps-android#2733 ·
-
bug :beetle:
難易度 4/5 3〜5日 初心者へのやさしさ 50/100
mapbox/mapbox-maps-android#2732 ·
-
auto-triaged bug :beetle:
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
mapbox/mapbox-maps-android#2731 · リアクション 4 件 ·
mapbox/mapbox-maps-android の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
navikt/esyfo-narmesteleder#654 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Source is down
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
keiyoushi/extensions-source#19728 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
vaadin/intellij-plugin#601 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
aphtech/brailleblaster#163 ·