AE: Sharjah sub-key has a shadda on the teh marbuta (إمارة الشارقةّ)
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 64/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cpp
- 領域
- localization
調査の方向性
Inspect the AE record and compare its sub_keys and sub_names with the live endpoint, then read region_data_builder.cc to see how the key and display name are consumed. Done means the Sharjah data no longer contains the misplaced mark, the key and name remain aligned, and the corrected record is reflected by the endpoint.
索引モデルが issue の本文から書いたものです。
説明
In the AE (United Arab Emirates) data, the sub-key for Sharjah carries an ARABIC SHADDA (U+0651) on a letter that cannot take one.
Fetched from the live endpoint just now:
https://chromium-i18n.appspot.com/ssl-aggregate-address/data/AE
-> https://www.gstatic.com/chrome/autofill/libaddressinput/chromium-i18n/ssl-aggregate-address/data/AE
"sub_keys": "أبو ظبي~إمارة الشارقةّ~الفجيرة~ام القيوين~إمارة دبيّ~إمارة رأس الخيمة~عجمان",
"sub_names": "أبو ظبي~الشارقة~الفجيرة~ام القيوين~دبي~رأس الخيمة~عجمان",
The problem
The Sharjah key ends ... U+0642 U+0629 U+0651, i.e. a shadda placed after the teh marbuta ة:
key إمارة الشارقةّ U+0625 U+0645 U+0627 U+0631 U+0629 U+0020
U+0627 U+0644 U+0634 U+0627 U+0631 U+0642 U+0629 U+0651
name الشارقة U+0627 U+0644 U+0634 U+0627 U+0631 U+0642 U+0629
A shadda marks gemination of a consonant. Teh marbuta is a word-final letter representing the feminine ending, and it is not geminated in this name — it cannot carry a shadda. In الشارقة the gemination is on the sheen ش, by sun-letter assimilation after the definite article ال. If the name is written with the shadda at all, the correct position is:
الشّارقة U+0627 U+0644 U+0634 U+0651 U+0627 U+0631 U+0642 U+0629
^ shadda on the sheen
This is also what the standard romanization "Ash Shāriqah" reflects — the doubled Sh.
Why I think it is a slip rather than a convention
The same file spells Dubai's shadda correctly: إمارة دبيّ, where the final yaa genuinely is geminated (دُبَيّ). So the data can and does place a shadda correctly one field away. Sharjah is the odd one out, not the result of a consistent policy.
User-visible effect
name is the clean الشارقة while key carries the mark, and in region_data_builder.cc the sub-region is added as AddSubRegion(key, name). So a dropdown displays الشارقة while the value that is stored and printed on the label is إمارة الشارقةّ. The user cannot see the anomaly in order to correct it.
It also means the natural spelling does not validate — an address submitting الشارقة or إمارة الشارقة does not match the key.
Two smaller things in the same record
- The
إمارة("Emirate of") prefix is applied to only 3 of the 7 keys — Sharjah, Dubai and Ras al Khaimah have it; Abu Dhabi, Fujairah, Umm Al Quwain and Ajman do not. ام القيوينis missing the hamza; the usual spelling isأم القيوين.
Note on provenance
I am fairly sure this form is inherited from the ISO 3166-2 table rather than authored here, so this is a report that the upstream source has it wrong, not a claim that it originated in this project. I mention it because #244 says reporting data issues here is the right route for server-side updates.
I have not verified whether the other RTL-script countries have the same class of issue; I only checked that across the aggregate data the AE entries were the ones where a key and its own name differ by a combining mark.
- 主要言語
- C++
- スター
- 629
- フォーク
- 109
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google/libaddressinput のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
google/libaddressinput#255 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
google/libaddressinput#245 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 52/100
google/libaddressinput#250 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
google/libaddressinput#249 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
google/libaddressinput#244 · コメント 2 件 ·
google/libaddressinput の issue をすべて見る
似ている issue
-
Component: Ruby Type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
bug needs triage tcp
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
project-chip/connectedhomeip#74644 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
godotengine/godot#124252 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
`controller_manager/activity` doesn't update after handling hardware error対応中かも @firuzakhmad が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ros-controls/ros2_control#3668 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信