Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
New Zealand uses Regions not States and Postcode Not Zip
Please find attached region code to add to
modules/addressfield/plugins/format/address.inc
I've added the region codes under the AU States (line 340)
And the NZ Tweaks after the GB tweaks
Patch File is not really suitable so I've just made a txt file that people can use or copy/change for their own country.
Would be grateful if you could add this to your next release.
Comment | File | Size | Author |
---|---|---|---|
newzealand.txt | 1.67 KB | dollar_dad |
Comments
Comment #1
GoldDollar_dad,
I'm planning on submitting a patch for the State thing this weekend. I'll roll your approach to it into a proper patch at the same time. I was going to leave it blank as it's not a required field for NZ Postal addresses any more.
This one seems to be getting the most activity on the NZ Address at the moment;
http://drupal.org/node/1651612
Comment #2
Golddollar_dad, I've rolled this into the patch here;
http://drupal.org/node/1651612#comment-6237112
If you could review the patch that woud be great. :)