Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Clarify what happened to Spanish subdivisions

Aperta
#160 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Ambito
data, localization

Direzione di ricerca

Confronta i dati delle suddivisioni spagnole del 2017 e del 2018 in commerceguys/addressing con l'elenco ISO 3166-2:ES collegato. Controlla gli elenchi delle province specifici per lingua, le chiavi delle suddivisioni e gli identificatori ISO mancanti, quindi documenta il formato della chiave previsto e se gli identificatori debbano essere ripristinati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C++
Stelle
629
Fork
109
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di google/libaddressinput

Tutte le issue di google/libaddressinput

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.