Last edited by shahbour; 10-25-2008 at 01:58 AM.
I completely remake UIDefaultFormats.phoneformat
It should work with/without +81.
It has 4 groups:
( 3 , 9 ,
There are rules for special number like 110 (police) or toll free.
( 1 , 2 ,
There are rules for Tokyo (03) and Osaka (06).
( 2 , 6 ,
There are rules for 10 digits number like mobile(070,080,090) or VoIP(050)
( 5 , 273 ,
There are rules for all other cities.
Last edited by yoshiki; 10-25-2008 at 04:31 PM.
save or rename original:
substitute and restart.
All the number formats of Lebanon is working perfect but there is a minor bug where in Lebanon a cell phone can start with 70 and a fixed line with 7 , so no fixed line start with 70 and it 10 digit length while cell phone can be 70 and 11 digit length.
here is an example
+ 961 70 123 456 cell phone
+ 961 7 123 456 fixed line
This is how it should be displayed, but right now it is displayed like this
+ 961 70 123 456 (cell correct)
+ 961 71 23 456 (fixed incorrect) the 7 should be alone.
I think fixing this is done on the UIDefaultFormats.phoneformat , but i am unable to edit the file can some one show me how to do that , may be i can fix it and update the forum back.