hellnation
Regular Member
- Feb 15, 2013
- 278
- 63
Hi,
I need a script to convert the full country names in a file to the 2 letter format.
I looked around and didn't find anything, looks like the best way is to make a php script that reads a conversion table and then convert the data.
However, I couldn't find any examples, how can I do this?
Here is a library that can be used to do this:
https://github.com/johannesl/Internationalization
I'm guessing a lot of others have faced the same issue before, seems like a common problem.
Thanks!
I need a script to convert the full country names in a file to the 2 letter format.
I looked around and didn't find anything, looks like the best way is to make a php script that reads a conversion table and then convert the data.
However, I couldn't find any examples, how can I do this?
Here is a library that can be used to do this:
https://github.com/johannesl/Internationalization
I'm guessing a lot of others have faced the same issue before, seems like a common problem.
Thanks!