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

Clarify what happened to Spanish subdivisions

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
領域
data, localization

調査の方向性

commerceguys/addressing の 2017 年と 2018 年のスペインの subdivision データを、リンクされている ISO 3166-2:ES のリストと比較してください。言語別の県リスト、subdivision キー、欠落している ISO 識別子を確認し、想定されるキー形式と、識別子を復元すべきかどうかを文書化してください。

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

説明

In the past 4 months there has been a shift in how Spanish subdivisions are handled.

The ISO list is mixed language-wise, provinces are named in their majority language, hence Lleida instead of Llerida, etc. This was the approach taken by the dataset as well. In 2018 the ES list changed:

  1. The province list has been separated into es/ca/ga versions. This makes sense at a glance.
  2. The provinces were rekeyed, the previous keys were province names, now we're using the codes (C/VI/AB/etc). This is confusing, cause the key is supposed to be used when formatting an address, but Spain doesn't use codes that way, they always write the province names.
  3. The ISO codes have been removed (no isoid for any of them). This looks accidental. Other countries have ISO codes defined even if the subdivision is keyed by the short version of the code.

So, I'm asking for clarification, and treating #3 as a bug.

I've had to revert to the 2017 version of the list in commerceguys/addressing, cause even the translation change was confusing users, who were used to the mixed list.

主要言語
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 を短くまとめたダイジェスト。