Hi Ubercart team,

After a bit of digging, I realised I can edit the address formatting for each country.
Thus I can get Irish addresses to display as I had expected, which means using the "Zone name" instead of "Zone code".

So I reckon this should be the default for Ireland.
A county in Ireland would always be referred to as 'Co. Meath' and not 'MEATH'.

Most of the time, its no big deal, but with Galway and Cork, for example, the county refers to both the city and the county, and a little confusion could be caused.
An address with just 'GALWAY' would be directed to the city.
Worst case scenario would be a delay in posting - it would still get to its intended destination.

I can't create a patch from here, but it just involves changing the section of the install code to

		  uc_set_address_format(372,
    		"!company\r\n!first_name !last_name\r\n!street1\r\n!street2"
		   ."\r\n!city, !zone_name !postal_code\r\n!country_name_if");

I'm not sure should it be changed as part of a version upgrade, as that would wipe out any customisations that the user had made, correct?

Regards,
Alan

CommentFileSizeAuthor
#3 ireland_cif.patch1.49 KBrszrama

Comments

rszrama’s picture

Assigned: Unassigned » rszrama

Thanks for the heads up. I'll get to it before the next release.

rszrama’s picture

Issue tags: +i18n
rszrama’s picture

Version: 6.x-2.x-dev » 6.x-2.0-beta3
Status: Active » Fixed
StatusFileSize
new1.49 KB

I made this as a new version of the Ireland .cif. Thanks again for reporting it. : )

Committed via the attached patch.

alanburke’s picture

Thank you, Ryan.

Status: Fixed » Closed (fixed)
Issue tags: -i18n

Automatically closed -- issue fixed for 2 weeks with no activity.