Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Settlement subdivision and POI labels are not translated to the device locale language in Standard style

オープン
#2,702 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
android, kotlin
領域
mobile

調査の方向性

まず、フランス語のデバイスロケールで Mapbox Standard style を使用している Android 上で問題を再現し、settlement-subdivision-label レイヤーと poi-label レイヤーに焦点を当てます。文書化されている localizeLabels() の動作と、利用可能な name および name_en feature プロパティを確認します。両方のラベルタイプがデフォルトで英語に戻るのではなく、デバイスロケールを使用すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug :beetle:

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.

Image

Steps to reproduce:

  1. Set device language to French
  2. Load a map using Mapbox Standard style
  3. 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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mapbox/mapbox-maps-android のほかの issue

mapbox/mapbox-maps-android の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。