libphonenumber metadata/formatting for Colombia, Paraguay and El Salvador

221 views
Skip to first unread message

Steve Polsky

unread,
May 7, 2014, 1:12:09 PM5/7/14
to libphonenum...@googlegroups.com
I'm new to the libphonenumber group & interested in using libphonenumber to parse and format phone numbers across Latin America.

I see in the PhoneNumberMetaData file that there is no xml for Colombia, Paraguay or El Salvador.

Are there any plans to add this to libphonenumber?  Is there a way to accelerate getting these added?  Is there a process for new submissions.

Steve

Lara Rennie

unread,
May 7, 2014, 1:13:51 PM5/7/14
to libphonenum...@googlegroups.com
Yes there is - why do you think there is not? We support every country...

Are you looking at the testing file or something?


Did you need help with i18n? Help us help you: go/i18n-emea-feedback 


--
You received this message because you are subscribed to the Google Groups "libphonenumber-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libphonenumber-di...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

David Yonge-Mallo

unread,
May 7, 2014, 1:38:48 PM5/7/14
to libphonenum...@googlegroups.com
-- 
David Yonge-Mallo
Software Engineer - Google Zürich

Steve Polsky

unread,
May 7, 2014, 2:09:12 PM5/7/14
to libphonenum...@googlegroups.com
David, Lara,

Thanks.


I see in the version that David you've attached the metadata for Colombia & El Salvador are present.

For some reason, I'm getting isValildNumber is rejecting valid El Salvadorian phone numbers:

  PhoneNumber numberProto = phoneUtil.parse(phoneNumber, region);  Where region="SV"

  boolean isValid = phoneUtil.isValidNumber(numberProto); // returns true

I'll double check a few things & reply back with more detailed information after testing...

Thanks for the quick response.


Steve


--
You received this message because you are subscribed to a topic in the Google Groups "libphonenumber-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/libphonenumber-discuss/87fHfikorX4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to libphonenumber-di...@googlegroups.com.

Steve Polsky

unread,
May 7, 2014, 2:36:04 PM5/7/14
to libphonenum...@googlegroups.com
David, Laura,

Issue resolved - thank you!  Ended up being a version issue and a mistake on my end.

All set - thanks!

Steve
Reply all
Reply to author
Forward
0 new messages