Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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'.
Comment | File | Size | Author |
---|---|---|---|
phone.tw_.inc_.zip | 1.17 KB | sgp913 |
Comments
Comment #1
mgiffordThis looks like a simple and useful addition to this module. Which country did you use as your base?
Comment #2
sgp913 CreditAttribution: sgp913 commentedI 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!