Reply
   
 BabySteps Guide to better Aussie Number formatting 
 
 
  #1 (permalink)  
Old 04-02-2008, 10:37 PM
Regular

Group: Regulars
Location: Melbourne


BabySteps Guide to better Aussie Number formatting

What will it achieve
The international region format options in the iPhone’s General Settings allow you to select Australia, and once chosen, it will provide basic Australian formats for the display of phone numbers in your contact lists or as you dial a number. However, it has only a few basic formats. It will display a landline number in the #### #### format, or the (##) #### #### format when there is an STD code, but mobile numbers are a solid block ########## instead of #### ### ###. Mobile numbers with an international prefix will display as +61 4 #### #### instead of +61 4## ### ###. Other things like 1800 numbers or 13# ### numbers are not provided for. If that doesn’t bother you , then you don’t need this guide. But if you would like to improve on it, this guide will show you how. If you have overseas contacts, this may result in better formatting for them as well. In some cases, the results may not be the way the numbers are normally displayed in that country, but are intended to be more helpful to Aussie eyes.

But, you probably don't need this guide
Since this guide was first written, fixes have become available through Installer or Cydia, which for most people will achieve the same thing a lot easier. On FW 1.1.3 or 1.1.4, Just add http://wpool.com/iphone to your sources in Installer. Then tap on “Install”, then on “Localisation” (either 1.1.3 or 1.1.4 depending on your phone firmware), and install “Aus Number Formatting”. You will probably want the other two items there too.
On FW 2.0, go to the localization section of Cydia, and install "Aussie Number Localisation". If you do that, then you don't need this guide at all.

What you need
If you still want to do this manually, rather than through Installer, you will need:
• An iPhone on 1.1.1, 1.1.2, or 1.1.3, unlocked and jailbroken
• A WiFi Connection for the iPhone
• A Mac computer with a FTP app such as “Fetch” or “CyberDuck”. This will work with a Windows machine too, but you will have to know enough to convert some of the instructions for the relevant apps.
• About quarter of an hour of spare time.
• This guide.

1. Before you begin
1.1 Be aware that I have been able to successfully do this on my phone only because I can follow instructions, and I have written this out only because I can describe what I did. I am not an expert on either computers or iPhone hacking. If you get into trouble following these instructions, it is more likely than not that I won’t have a clue why or what you should do about it.
1.2 Read through this guide carefully and make sure you understand and can follow all the steps

2. Preparation of the iPhone
2.1 Install “BSD Sybsystem” if it is not already on your phone. If it is not already on your phone, then in “Installer”, tap on “Install” at the bottom of the screen, then on the “System” folder, then on “BSD Subsystem”, and then on “Install” at the top of the screen. You will probably get a notification warning you not to change your password. Take note of it if it is the sort of thing you might have otherwise done, and then press “OK”.
2.2 Install “Open SSH” if it is not already on your phone. If it is not already on your phone, then in “Installer”, tap on “Install” at the bottom of the screen, then on the “System” folder, then on “ Open SSH”, and then on “Install” at the top of the screen. If you can’t find it, you may need to refresh the sources (Tap on “Sources” at the bottom of the screen, and then on “Refresh” at the top).

3. Preparation of the Property List
3.1 Select and Copy the full text from the quote box at the bottom of this guide (note that it long and has its own scrolling window).
3.2 Open a blank document in a word processing application that can save to Plain Text format (eg. Pages, AppleWorks, MS Word) and paste in the copied text.
3.3 If you look through it and see any formats you want are not there, you should be able to work out from the patterns how to add them.
3.4 Using the “Export” or “Save As” function, save the document in Plain Text format, naming it UIPhoneFormats.plist

4. Getting your iPhone’s Name
4.1 It may be possible to skip section 4 here, and you can’t do any harm by trying this: Go to section 5 below, and at 5.4, try using the following as your iPhone’s name: Macintosh-############.local , where ############ is the Wi-Fi Address of your phone (as found in Settings>General>About) but with the colons taken out. If that gets you a connection into your phone, you can continue from there. If it refuses, come back here and get the name this way.
4.2 On a Mac (you work it out if on Windows) open the Terminal.app, which is found in the Utilities folder in the Applications folder.
4.3 From the File menu, choose “Connect to Server” (Tiger) or from the Shell menu, choose "New Remote Connection" (Leopard).
4.4 In the window that opens, click on SFTP. Your iPhone should appear on the right, although it may have some unrecognisable description. Click on it.
4.5 At the bottom of the window, a name of your phone should now appear between “sftp -1” and “-oPort=##”. Copy the name from between those tags. If there is a dot on the end of the name, you may need to leave it off.

5. Transferring the Property List to your Phone
5.1 Open your FTP application - Fetch or CyberDuck or equivalent.
5.2 Select “Open Connection” (CyberDuck) or “New Connection” (Fetch).
5.3 Choose to connect with the “SFTP” protocol.
5.4 Paste the iPhone’s name into the “Server” or “Hostname” box.
5.5 Type “root” into “Username”.
5.6 Type “alpine” into “Password”
5.7 Click on the “Connect” button.
5.8 If you get a warning asking whether you want to allow the host access or keep connecting, click on “Allow” or “Connect”. It should then show a directory.
5.9 From the “Go” menu, choose “Go to Folder…”
5.10 In the resulting box, type in /System/Library/Frameworks/UIKit.framework/PhoneFormats and click “OK”
5.11 The directory that opens should include a file called UIPhoneFormats.plist
5.12 If you want to be careful, in case something goes wrong, select that file and use a “Download” or “Get” command to download it to your computer (not to the same location as the new one you’ve created).
5.13 Select the new property list file you created at 3.4, and drag and drop it into the CyberDuck or Fetch window.
5.14 You should see a progress indicator quickly record the transfer of the file and then tell you it has been completed. You will then see that the displayed “date modified” will have changed.
5.15 You can now quit your FTP application.

6. Finishing
6.1 Reboot your iPhone (Hold down the power button until the “slide to power off” slider appears and slide it. The after it has powered off, press the power button again to restart it.)
6.2 Check your contacts to see if the new formats are displaying.
6.3 If they’re not, sorry! I don’t know why. You could try going through it all again. But it has worked for me on all three firmware versions.
6.4 This does not fix the issue with caller identification. There is another BabySteps guide here for that.
6.5 Enjoy!


Here is the content for the Properties List (you'll see the Aussie ones in the third set down):
HTML Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>ar</key>
	<array>
		<string>+54## #### ####</string>
		<string>## #### ####</string>
		<string>00 $</string>
		<string>18 ### $ </string>
	</array>
	<key>at</key>
	<array>
		<string>### ### ####</string>
		<string>00 $</string>
		<string>+43 (1) ### ## ##</string>
		<string>+43 1 #### #####</string>
		<string>+43 #### #### ####</string>
	</array>
	<key>au</key>
	<array>
		<string>04## ### ###</string>
		<string>#### ####</string>
		<string>(03) #### ####</string>
		<string>(02) #### ####</string>
		<string>(07) #### ####</string>
		<string>(08) #### ####</string>
		<string>+61 4## ### ###</string>
		<string>+61 # #### ####</string>
		<string>1300 ### ###</string>
		<string>1800 ### ###</string>
		<string>1900 ### ###</string>
		<string>13# ###</string>
		<string>0011 $</string>
	</array>
	<key>be</key>
	<array>
		<string># #######</string>
		<string>+32 # ### ####</string>
		<string>## ######</string>
		<string>### #####</string>
		<string>00 $</string>
	</array>
	<key>br</key>
	<array>
		<string>(0##) #######</string>
		<string>+55 ## #### ####</string>
		<string>#######</string>
		<string>00 $</string>
	</array>
	<key>ch</key>
	<array>
		<string>0## #######</string>
		<string>01 #######</string>
		<string>00 $</string>
		<string>+41 1 ### ####</string>
		<string>+41 ## ### ####</string>
	</array>
	<key>cn</key>
	<array>
		<string>+86 ### #### ####</string>
		<string>00 $</string>
		<string>### ########</string>
	</array>
	<key>cz</key>
	<array>
		<string>+420 ### ### ###</string>
	</array>
	<key>de</key>
	<array>
		<string>## ###</string>
		<string>00 $</string>
		<string>+49 ## ### ####</string>
		<string>## ####</string>
		<string>## #####</string>
		<string>## ######</string>
		<string>## #######</string>
	</array>
	<key>dk</key>
	<array>
		<string>901 ######</string>
		<string>902 ######</string>
		<string>903 ######</string>
		<string>701 ######</string>
		<string>3# ######</string>
		<string>## ######</string>
		<string>00 $</string>
		<string>+45 ## ### ###</string>
	</array>
	<key>es</key>
	<array>
		<string>9 1 ######</string>
		<string>9 # ######</string>
		<string>00 $</string>
		<string>+34 #### #####</string>
		<string>+34 9### ### ###</string>
	</array>
	<key>fi</key>
	<array>
		<string>(0##) #######</string>
		<string>#######</string>
		<string>00 $</string>
		<string>+358 #### #### #####</string>
	</array>
	<key>fr</key>
	<array>
		<string>0# ## ## ## ##</string>
		<string>00 $</string>
		<string>+33 # ## ## ## ##</string>
	</array>
	<key>gl</key>
	<array>
		<string>49####</string>
		<string>+299 ## ## ##</string>
		<string>00 $</string>
		<string>## ## ##</string>
	</array>
	<key>gr</key>
	<array>
		<string>#### ### ###</string>
		<string>00 $</string>
		<string>+30 #### ### ###</string>
	</array>
	<key>hk</key>
	<array>
		<string>########</string>
		<string>############</string>
		<string>00# $</string>
		<string>+852 #### ####</string>
	</array>
	<key>id</key>
	<array>
		<string>##########</string>
		<string>001 $</string>
		<string>+62 #### ### ###</string>
		<string>0##########</string>
	</array>
	<key>ie</key>
	<array>
		<string>(##) #######</string>
		<string>(###) #####</string>
		<string>00 $</string>
		<string>+353 #### ### ###</string>
	</array>
	<key>il</key>
	<array>
		<string>(5#) #########</string>
		<string>012 $</string>
		<string>+972 # #### ####</string>
		<string>013 $</string>
		<string>+972 5# ### ### ###</string>
		<string>(#) ########</string>
		<string>(7#) #########</string>
		<string>+972 7# ### ### ###</string>
		<string>00 $</string>
	</array>
	<key>in</key>
	<array>
		<string>(0##) #######</string>
		<string>00 $</string>
		<string>+91 #### ### ###</string>
	</array>
	<key>is</key>
	<array>
		<string>#######</string>
		<string>00 $</string>
		<string>+354 ### ### ###</string>
	</array>
	<key>it</key>
	<array>
		<string>0# #####</string>
		<string>00 $</string>
		<string>0## ####</string>
		<string>0# ########</string>
		<string>0# #########</string>
		<string>+39 # #### ####</string>
		<string>+39 ## #### ####</string>
	</array>
	<key>ja</key>
	<array>
		<string>(0#) #### ####</string>
		<string>+81 #### #### ####</string>
		<string>(0#) #######</string>
		<string>001 $</string>
	</array>
	<key>kr</key>
	<array>
		<string>(0#) #######</string>
		<string>(03#) ######</string>
		<string>(04#) ######</string>
		<string>(05#) ######</string>
		<string>(06#) ######</string>
		<string>001 $</string>
		<string>+82 ### #### ####</string>
	</array>
	<key>lu</key>
	<array>
		<string>###########</string>
		<string>00 $</string>
		<string>+352 ### #### ####</string>
	</array>
	<key>mx</key>
	<array>
		<string>(0###) #######</string>
		<string>+52 81 #### ####</string>
		<string>+52 ### ### ####</string>
		<string>00 $</string>
		<string>+52 55 #### ####</string>
		<string>+52 33 #### ####</string>
	</array>
	<key>nl</key>
	<array>
		<string>(0##) #######</string>
		<string>00 $</string>
		<string>+31 #### ### ###</string>
	</array>
	<key>no</key>
	<array>
		<string>########</string>
		<string>00 $</string>
		<string>+47 #### ####</string>
	</array>
	<key>nz</key>
	<array>
		<string>(0#) #######</string>
		<string>00 $</string>
		<string>+64 21 ### ####</string>
		<string>+64 21 #### ####</string>
		<string>+64 # ### ####</string>
	</array>
	<key>pl</key>
	<array>
		<string>(011#) #####</string>
		<string>00 $</string>
		<string>(012) ######</string>
		<string>+48 #### #### ####</string>
		<string>(0###) #####</string>
	</array>
	<key>pt</key>
	<array>
		<string>#########</string>
		<string>+351 ### ### ###</string>
		<string>00 $</string>
	</array>
	<key>ru</key>
	<array>
		<string>(8###) ######</string>
		<string>######</string>
		<string>(8####) #####</string>
		<string>#####</string>
		<string>+7 #### #### ####</string>
	</array>
	<key>se</key>
	<array>
		<string>### ### ##</string>
		<string>+46 ### ### ###</string>
		<string>### ### ###</string>
		<string>00 $</string>
	</array>
	<key>sg</key>
	<array>
		<string>########</string>
		<string>+65 #### ####</string>
		<string>001 $</string>
	</array>
	<key>sv</key>
	<array>
		<string>+503 #### ####</string>
		<string>#### #####</string>
		<string>00 $</string>
	</array>
	<key>tr</key>
	<array>
		<string>(0###) #######</string>
		<string>00 $</string>
		<string>#######</string>
		<string>+90 ### ### ####</string>
	</array>
	<key>tw</key>
	<array>
		<string>(#) ########</string>
		<string>########</string>
		<string>(##) ######</string>
		<string>######</string>
		<string>002 $</string>
		<string>+886 #### ### ###</string>
	</array>
	<key>uk</key>
	<array>
		<string>0### - ### ####</string>
		<string>00 $</string>
		<string>0## - #### ####</string>
		<string>+44 1#1 ### ####</string>
		<string>+44 11# ### ####</string>
		<string>+44 1### ### ###</string>
		<string>+44 2# #### ####</string>
		<string>+44 3# #### ####</string>
		<string>+44 500 ### ###</string>
		<string>+44 5# #### ####</string>
		<string>+44 7### ### ###</string>
		<string>+44 ### ### ####</string> 
		<string>0#### - ######</string>
	</array>
	<key>us</key>
	<array>
		<string>+1 (###) ###-####</string>
		<string>1 (###) ###-####</string>
		<string>(###) ###-####</string>
		<string>###-####</string>
		<string>011 $</string>
	</array>
	<key>za</key>
	<array>
		<string>(0##) #######</string>
		<string>#######</string>
		<string>00 $</string>
		<string>+27 ### ### ###</string>
	</array>
</dict>
</plist>

Last edited by laughingbird; 03-08-2008 at 01:15 PM.
laughingbird is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #2 (permalink)  
Old 05-02-2008, 12:20 AM
Regular

Group: Regulars
Location: ...


Quote:
au

04## ### ###
#### ####
(03) #### ####
(02) #### ####
(07) #### ####
(08) #### ####
+61 # #### ####
+61 4## ### ###
(61) (0#) #### ####
1300 ### ###
1800 ### ###
13# ###
0011 $
For those of you playing at home, this can be achieved with...
Quote:
au

#### ####
04## ### ###
(0#) #### ####
+61 4## ### ###
+61 # #### ####
1### ### ###
13# ###
0011 $
By the way, it's a Property List file, not a playlist.
Edge is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #3 (permalink)  
Old 05-02-2008, 10:26 AM
Regular

Group: Regulars
Location: Melbourne


Quote:
Originally Posted by Edge View Post
For those of you playing at home, this can be achieved with...
Would the 1### ### ### format, instead of the 1800 ### ###, potentially cause confusions if you have some north American numbers in your contacts list, and you've not put the "+" before the "1"?

Quote:
By the way, it's a Property List file, not a playlist.
Thanks for that. I've corrected it. My ignorance is showing!

Any other corrections or clarifications any one has would be appreciated.

Cheers.
laughingbird is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #4 (permalink)  
Old 05-02-2008, 11:21 AM
Timelord

Group: Regulars
Location: TARDIS


Worked perfectly. Great instructions. Thanks
the_doctor is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #5 (permalink)  
Old 06-02-2008, 11:40 AM
Addicted to anything made by Apple

Group: Regulars
Location: Melbourne


Blah, RTFM to myself. Sorry previous post was a dumb question.
__________________
Macbook Pro 2.4Ghz Unibody goodness
20 Inch Cinema Display
8Gb 3G iPhone, 3rd gen iPod Nano 4Gb, 3rd gen U2 ipod 20Gb

Last edited by Comet; 06-02-2008 at 11:45 AM.
Comet is offline
Profile CardPM
Go to the top of the page
Reply With Quote
Huy
  #6 (permalink)  
Old 09-02-2008, 02:19 PM
It's a cruel, cruel summer

Group: Regulars
Location: NSW


Worked a treat. Thanks laughingbird!
Huy is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #7 (permalink)  
Old 09-02-2008, 11:46 PM
Regular

Group: Regulars
Location: ...


Quote:
Originally Posted by laughingbird View Post
Would the 1### ### ### format, instead of the 1800 ### ###, potentially cause confusions if you have some North American numbers in your contacts list, and you've not put the "+" before the "1"?
Remember this is only for formatting, not for dialling and number matching with your address book.

The only U.S. numbers I have stored in my address book are 1 (###) ###-#### so ten digits after the 1. If there are some U.S. numbers with 9 digits after the 1, if you forget the +, the confusion will exist no matter what, when formatting (although you can specify a country in the Address field in Contacts.)

When dialling or matching numbers the information in the AppSupport file is used. The phone will default to the country information contained in your SIM, known as the MCC (or Mobile Country Code) which in most of our cases is Australia.

There's nothing wrong with what you've got, you just might like to add 1300, 1900 numbers etc.
Edge is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #8 (permalink)  
Old 13-02-2008, 01:44 PM
Regular

Group: Regulars
Location: Melbourne


I can handle this easily myself but is there possibly a easier method via installer.app ? Reason i ask is that i have a mate in another state and i really don't have the patience to guide them over the phone.
undertow is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #9 (permalink)  
Old 13-02-2008, 03:01 PM
Regular

Group: Regulars
Location: NSW


Quote:
Originally Posted by undertow View Post
I can handle this easily myself but is there possibly a easier method via installer.app ? Reason i ask is that i have a mate in another state and i really don't have the patience to guide them over the phone.
Yes,

Settings > General > International > Region Format > Australia

This guide is actually not needed on the new firmware.
Linux_insidev2 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #10 (permalink)  
Old 14-02-2008, 11:09 AM
Regular

Group: Regulars
Location: Melbourne


have that done but it does not do the breaks in the number like 02 xxxx xxxx
undertow is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #11 (permalink)  
Old 23-02-2008, 10:55 AM
Banned

Group: Banned Users
Location: gangsters paradise


i have a point that may be of use to this issue.

My 1st iphone was an 8 gig & now i have the 16gig, the 8 gig went to my partner.
Before she put her SIM in the phone i got her to set up her address book and make sure all of her contacts were there, so she had access to all phone numbers.
She did this but didn't have much care for which order she put phone numbers in the contact information.
If she had a home phone and a mobile the home number might have gone into that contacts list 1st.
Now she gets calls from friends with the +61 prefix. I never had this issue when i used the phone and all we have done is a SIM swap out.

It may well be that the mobile phone number needs to be the primary number for a contact to avoid the +61 prefix issue.

Can anyone confirm or deny my theory?
krafty is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #12 (permalink)  
Old 23-02-2008, 10:59 AM
Regular

Group: Regulars
Location: Perth, Western Australia


Quote:
Originally Posted by undertow View Post
have that done but it does not do the breaks in the number like 02 xxxx xxxx
Works on my iPod touch (not JailBroken). All I did was this in AddressBook on my Mac.
__________________
i3network.net | Email/AIM: adamd(at)i3network.net | msn: i3network(at)hotmail.com | Follow me on TUMBLR
MacBook: White, 13", 250Gb, 2Gb RAM, 2GHz Intel Core 2 Duo, SuperDrive, OSX 10.5.4, Jan 2007 Model
iMac DV+: Ruby, 15", 20Gb, ?? RAM, 450MHz PowerPC G3, DVD-ROM, OSX 10.4.11, July 2000 Model
iPod Mini: Silver, 4Gb, 1G | iPod Touch: Black/Silver, 16Gb, v2.o.2 | AirPort Express | BlueTooth Mighty Mouse
Logitech Z-340 Speakers | Sony MHC-RG290 | BenQ FP731 | Nokia 6120 classic
adamd is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #13 (permalink)  
Old 03-08-2008, 01:19 PM
Regular

Group: Regulars
Location: Melbourne


The more comprehensive set of Aussie number formats are now available for jailbroken phones on FW2.0 through Cydia. Just go Sections>Localization, and install "Aussie Number Formatting".

Big thanks to Linux_insidev2 for packaging my formats into an easy-install fix and submitting it to Cydia. Beyond my skills, but its great when a bit of team work helps everyone out.
laughingbird is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #14 (permalink)  
Old 15-09-2008, 03:58 PM
Regular

Group: Regulars
Location: Melbourne


Unfortunately, my Aussie Number Localisation tweak on Cydia will not work with FW 2.1.

I don['t know whether I am going to be able to do a new version. The number formatting worked the same way on at lest the last eight firmware versions, but this time it looks quite different, and as yet I have no idea how to do anything with it.

I notice that FW2.1 has some improvements to the Aussie formats, but that they have also stuffed up our basic landline format, so it is gains and losses.

If I manage to find out how to do a new tweak, I will, but don't hold your breath. I'm no expert on these things.
laughingbird is offline
Profile CardPM
Go to the top of the page
Reply With Quote
 
Reply

Threa