Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
hybridb
Old
#1  
Member - OP
Thanks Meter 0
Posts: 49
Join Date: Aug 2009
Default remove phone numbers formatting (dashes)

Hello,

Me and my trusty G1 have recently moved out of the US. Im running CM's latest, and just like the stock ROM, phone numbers stored in the phone have the xxx-xxx-xxxx US format. This format does not apply to most countries outside of the US. So here when someone calls (or when im trying to add a new contact) phone numbers tend to look weird since phone numbers here have an XX-XXX-XXX format (8 digits total), and so they end up showing as XXX-XXX-XX, which is just confusing.

So in short, is there any way to stop the dashes from showing up in the call log/ caller id/adding new contact form??

Thanks alot!!
 
hybridb
Old
#2  
Member - OP
Thanks Meter 0
Posts: 49
Join Date: Aug 2009
No one has the same problem or has heard of a fix to this???
 
Tiznom
Old
#3  
Member
Thanks Meter 3
Posts: 68
Join Date: Sep 2009
Location: Jersey
Hi, my G1 & I moved out of the US recently, too. The way I did it was to change all the numbers while logged in to Gmail in my browser. It was tedious but it lets you use a proper keyboard and mouse instead of trying to do it on the phone. All you really need to do is type the new prefix/country code once, and then cut and paste it in front of all the US numbers. Gmail will then just push it out to the phone right away. Hope this helps...
 
hybridb
Old
#4  
Member - OP
Thanks Meter 0
Posts: 49
Join Date: Aug 2009
My biggest concern isn't fixing the already existing numbers in my phone book. My concern is when adding a new number or when someone not in my phone book calls, the number looks confusing because of the existence of the dashes.

But thanks anyway for your suggestion.
 
djstoffe
Old
#5  
Member
Thanks Meter 0
Posts: 78
Join Date: Aug 2008
I have MoreLocale2 installed and when i changed it to my language i got the correct formatting.
 
hybridb
Old
#6  
Member - OP
Thanks Meter 0
Posts: 49
Join Date: Aug 2009
Hey I just wanted to bump this thread to point out that morelocale 2 worked like a charm! so thanks a lot for the suggestion
 
stezo2k
Old
#7  
stezo2k's Avatar
Senior Member
Thanks Meter 37
Posts: 497
Join Date: Dec 2010
Sorry to bump an old thread but i'm having exactly the same problem and its driving me mad I cant get MyLocale 2 working, it doesn't take the dashes from my numbers
 
aygunes
Old
#8  
Junior Member
Thanks Meter 3
Posts: 1
Join Date: Aug 2008
Old thread, but might help someone: I also had the dash problem although in Gmail my contacts had no dashes. Changing the locale from US to UK removed the dashes for me (Home/Settings/Locale and Text/Select locale/ English (UK)).
The Following 3 Users Say Thank You to aygunes For This Useful Post: [ Click to Expand ]
 
deejay4angels
Old
#9  
deejay4angels's Avatar
Member
Thanks Meter 7
Posts: 43
Join Date: Oct 2011
Location: Iasi
Quote:
Originally Posted by aygunes View Post
Old thread, but might help someone: I also had the dash problem although in Gmail my contacts had no dashes. Changing the locale from US to UK removed the dashes for me (Home/Settings/Locale and Text/Select locale/ English (UK)).
Thanks aygunes, this is a realy easy solution to have the numbers format without dashes.
 
E:V:A
Old
(Last edited by E:V:A; 29th December 2011 at 03:38 PM.) Reason: Hmm
#10  
E:V:A's Avatar
Recognized Developer
Thanks Meter 1069
Posts: 868
Join Date: Dec 2011
Location: -∇ϕ
Find a way to export your contacts to a CSV file or a single vCARD file. Then you can just use something like a shell command:
Code:
cat file.csv | tr -d '-' > cleanfile.csv
or just edit the resulting file with any text editor and import back. http://forum.xda-developers.com/show....php?t=1417184

[EDIT] I forgot that probably ALL phone numbers are stored without dashes in the (latest) contacts database.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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

Go to top of page...

XDA PORTAL POSTS

Gear Up Because it’s Time to Save Earth

*Cue Dramatic Music*Put on your red and blue latex overalls and cape because it’s time to … more

Recognized Contributor Code of Conduct

During the first half of 2012, XDA initiated the Recognized Contributor (RC) program to recognize … more

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more