The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-01-2008, 09:38 PM
Nettwerk's Avatar
iPhone? More like MyPhone
 
Join Date: Jan 2008
Device + Firmware: iPhone 8Gb 2.1/1.0.2OTB
Operating System: MacOS X Leopard 10.5.5
Posts: 167
Thanks: 18
Thanked 51 Times in 24 Posts
AddressBook.app with unsuported Country...

So, Apple didn't include a lot of countries in Address Book. That's mean you can't add Address with unsupported country like my. I'm from Latvia. Where is my country? What can you do?You have jailbroken iPhone/iPhone 3G with firmware 2.1. Connect to iPhone/iPhone 3G. Go to:
/System/Library/Frameworks/AddressBook.framework
download file: ABAddressFormats.plist
You can edit with TextWrangler.
There is small example for my country Latvia.
Latvia specific code is: LV
find correct place and add like that.
Quote:
<key>lu</key>
<dict>
<key>COUNTRY</key>
<string>Luxembourg</string>
<key>City</key>
<string>City</string>
<key>Country</key>
<string>Country</string>
<key>EDIT_FORMAT</key>
<string>Street
Street2
ZIP City
Country</string>
<key>FORMAT</key>
<string>Street
ZIP City
Country</string>
<key>PHONETIC_COUNTRY</key>
<string>Phonetic Luxembourg</string>
<key>Street</key>
<string>Street</string>
<key>URL_FORMAT</key>
<string>Street, ZIP, City, Country</string>
<key>ZIP</key>
<string>PostalCode</string>
</dict>
<key>lv</key>
<dict>
<key>COUNTRY</key>
<string>Latvia</string>
<key>City</key>
<string>City</string>
<key>Country</key>
<string>Country</string>
<key>EDIT_FORMAT</key>
<string>Street
Street2
ZIP City
Country</string>
<key>FORMAT</key>
<string>Street
ZIP City
Country</string>
<key>PHONETIC_COUNTRY</key>
<string>Phonetic Latvia</string>
<key>Street</key>
<string>Street</string>
<key>URL_FORMAT</key>
<string>Street, ZIP, City, Country</string>
<key>ZIP</key>
<string>PostalCode</string>
</dict>

<key>mk</key>
<dict>
<key>COUNTRY</key>
<string>Macedonia</string>
<key>City</key>
<string>City</string>
<key>Country</key>
<string>Country</string>
<key>EDIT_FORMAT</key>
<string>Street
Street2
City ZIP
Country</string>
<key>FORMAT</key>
<string>Street
City ZIP
Country</string>
<key>PHONETIC_COUNTRY</key>
<string>Phonetic Macedonia</string>
<key>Street</key>
<string>Street</string>
<key>URL_FORMAT</key>
<string>Street, City, ZIP, Country</string>
<key>ZIP</key>
<string>PostalCode</string>
</dict>
Click the image to open in full size.
Click the image to open in full size.
Click the image to open in full size.
Save document and upload back.You can restart phone...
Works great now with Maps.app
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 01:57 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top