Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Localization bug and fix in the Address Book Apps
There is a localization bug in the Address book app of OS X 10.2.

In edit mode, when I choose the formatting option of an address ("Change Address Formating" popup menu) as "Australia," then my address is formatted with the address formatting style of Austria. For the record, these are two different countries which have virtually no cultural similarities!

So I started using Canada's address formating -- it's the same as Australia's (city, state, postalcode) but the web services stuff in the address book breaks as it derives a person's "Country" not from the Country field of the address, but from a style you select in order to apply formating to the address fields. For example, the Map service believes my address is in Canada (assigning the code "ca") even though the Country field contains "Australia" -- "Canada" is just the name of the address formating style I've selected. Does the concept of separation of style from content not appeal to Apple?

THE FIX: The configuration file for the OS X 10.2 Address formatting resides in System -> Library -> Frameworks -> AddressBook.framework -> Versions -> A -> Resources -> addrFormat.plist. The formatting of this text file is pretty straight forward - just copy the Canada settings to the Australia entry, and remember you'll need to edit the file as root.
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)

Localization bug and fix in the Address Book | 2 comments | Create New Account
Click here to return to the 'Localization bug and fix in the Address Book' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Thanks (and a clarification)
Authored by: ret on Aug 28, '02 07:35:08PM
I was irked when I saw that addresses weren't being formatted correctly for those of us in the Antipodes. Thanks for getting to the bottom of the problem. For what it's worth, copying the Canada settings are still not quite right, since we call our states "States", not "Provinces" and our Post Codes are not Postal Codes. So the entry should look like this:
    au = {
        COUNTRY = Australia;
        FORMAT = "Street\\nCity State ZIP\\nCountry";
        City = City;
        Country = Country;
        State = State;   
        Street = Street;
        ZIP = PostCode;  
cheers RET

[ Reply to This | # ]
Authored by: ret on Aug 28, '02 07:39:19PM

Grrr.... only a single backslash required for the backslash-n delimiters in that string.


[ Reply to This | # ]