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

Wrong state_name_type for France

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

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

評価

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

調査の方向性

リポジトリのフランスの住所メタデータを調査し、state_name_type のデフォルト値が ZZ エントリから継承されている箇所を見つけてください。期待される "region" の値を pull request 161 の議論およびリンクされている Google Maps の住所タイプに関するドキュメントと比較してください。カスタムの地域リストが指定されたときに、フランスで "province" が表示されなくなれば完了です。

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

説明

France currently inherits the default (ZZ) state_name_type of "province".
But the correct state_name_type should be "region", as explained by @comxd in https://github.com/commerceguys/addressing/pull/161

Also, Google Maps API's provide a "region" for the "administrative_area_level_1" field. (@see https://developers.google.com/maps/documentation/javascript/geocoding?hl=fr#GeocodingAddressTypes)

Sources:

https://www.lefrancaisdesaffaires.fr/wp-content/uploads/2016/05/province_et_region.pdf
https://mediateur.radiofrance.com/infos/en-province-en-region/#:~:text=La%20locution%20la%20plus%20commune,parfait%20de%20%C2%AB%20en%20province%20%C2%BB.&text=En%20province%2C%20on%20a%20la,ne%20pas%20%C2%AB%20faire%20Paris%20%C2%BB.

This isn't noticeable because there are no regions defined for France by default, but there's no reason to show a wrong label when people do provide their own region list (in libraries that allow that).

主要言語
C++
スター
629
フォーク
109
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

google/libaddressinput のほかの issue

google/libaddressinput の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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