Hi, I'm not sure how to submit a code revision, but I made a file for Taiwan phone number support. The country code is 'tw'.

CommentFileSizeAuthor
phone.tw_.inc_.zip1.17 KBsgp913
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mgifford’s picture

This looks like a simple and useful addition to this module. Which country did you use as your base?

sgp913’s picture

I used Australia as the base for it (the others were very very confusing to read through), but I noticed that a few of them didn't work properly. I know the 02 numbers and 09 work properly (Taipei and Mobile), and I haven't checked into why the others aren't functioning 100% properly yet (my current project is focused on Taipei). I will post here again when I have it sorted out.

Here is a list of the numbers in Taiwan:
http://en.wikipedia.org/wiki/Telephone_numbers_in_Taiwan

Maybe someone else can have a look and figure out where I hacked some stuff wrong. :-) It was kind of a rush job for me to get Taipei and Mobile working as soon as possible and I'll admit I didn't do the most perfect job and commenting is off a bit.

Thanks for the module!