Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Xano’s picture

Status: Active » Needs work

The state names need to be in US English. The t() function allows them to be translated to German (and other languages).

rszrama’s picture

Component: Code » Address formats
dercheffe’s picture

Issue summary: View changes
Status: Needs work » Needs review
FileSize
1.76 KB

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

Anonymous’s picture

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.

mstiem’s picture

Hi,

i just created a new patch for the actual addressfield_7.x.1.x version.

mstiem’s picture

FileSize
1.66 KB
1.66 KB
1.67 KB

Hi,
If someone needs the additional .po files:
So I addeded the 3 I needed for my case.

bojanz’s picture

Status: Needs review » Needs work

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?

bojanz’s picture

Title: patch for adding federal states of Austria and Germany » Add states for Germany
Status: Needs work » Closed (won't fix)

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.