google/libaddressinput

Missing administrative areas for Algeria (DZ)

Opened this issue · 2 comments

DZ has an address format, an administrative area field, but no administrative areas.

A user suggested the following: https://github.com/commerceguys/addressing/pull/97/files

Hi, it looks like DZ has a city field and no administrative area field in the address format. Can you clarify what you mean?

Even though ISO-3166-2 sub-region codes exist for Algeria, and that the Algerian postal code is keyed directly off those sub-region codes, according to UPU and the Algerian Post, the Region is not used or displayed in a postal address. This image is from poste.dz:

image

That being said, the administrative region is used when entering an address in forms. Examples are when ordering a credit card through the post office (examples in french, arabic)

image

So, based on the usage, I would think if you added the sub_isoids and sub_keys, you would not add province %S to the "fmt" field. The closest existing metadata is what is done for Andora.