When importing addresses to address field and the administrative area is in full name the importing fails because it's only take short abbreviation for administrative area (state).
I created a plugin which convert the full name into short abbreviation.
Ex: short abbreviation for Dubai is DU and for New York is NY ....
The plugin convert all administrative area that exist in address field module.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anas_maw created an issue. See original summary.

Anas_maw’s picture

Anas_maw’s picture

Status: Active » Needs review
Anas_maw’s picture

Small change on patch to return 'not valid abbreviation' instead of empty string.

mtoscano’s picture

Great man! Works perfectly and saved me a long time