This patch adds federal states of Austria and Germany to the options list of administrative areas.
The state names need to be in US English. The t() function allows them to be translated to German (and other languages).
I modified the patch by translating the state names into English based on following sources: Germany: http://en.wikipedia.org/wiki/States_of_Germany#States Austria: http://en.wikipedia.org/wiki/States_of_Austria#Geography
Latest patch made the field lacking of a label. Added it to the patch with some additional default settings for the field i've found in other countries.
Hi,
i just created a new patch for the actual addressfield_7.x.1.x version.
Hi, If someone needs the additional .po files: So I addeded the 3 I needed for my case.
Google's dataset (Android/Chrome) specifies that neither Austria or Germany use the states for mailing, and that the state field should be hidden. The PDF for Austria linked at: https://www.post.at/en/personal_send_letter_mail_shipping_advice_address... also seems to confirm this.
Does anyone have an official source that says otherwise?
Repurposing issue since there's already #1662696: add Austrian provinces for Austria.
dawehner confirmed that Germany doesn't use states for mailing.
Reopen if you find an official source that says otherwise.
Comments
Comment #1
xanoThe state names need to be in US English. The t() function allows them to be translated to German (and other languages).
Comment #2
rszrama commentedComment #3
dercheffeI modified the patch by translating the state names into English based on following sources:
Germany:
http://en.wikipedia.org/wiki/States_of_Germany#States
Austria:
http://en.wikipedia.org/wiki/States_of_Austria#Geography
Comment #4
Anonymous (not verified) commentedLatest patch made the field lacking of a label. Added it to the patch with some additional default settings for the field i've found in other countries.
Comment #5
mstiem commentedHi,
i just created a new patch for the actual addressfield_7.x.1.x version.
Comment #6
mstiem commentedHi,
If someone needs the additional .po files:
So I addeded the 3 I needed for my case.
Comment #7
bojanz commentedGoogle's dataset (Android/Chrome) specifies that neither Austria or Germany use the states for mailing, and that the state field should be hidden.
The PDF for Austria linked at: https://www.post.at/en/personal_send_letter_mail_shipping_advice_address... also seems to confirm this.
Does anyone have an official source that says otherwise?
Comment #8
bojanz commentedRepurposing issue since there's already #1662696: add Austrian provinces for Austria.
dawehner confirmed that Germany doesn't use states for mailing.
Reopen if you find an official source that says otherwise.