ashtokalo / php-translit

PHP library to convert text from one script to another
MIT License
40 stars 19 forks source link

uk for Ukraine doesnt right! #2

Closed AlexWaha closed 9 years ago

AlexWaha commented 9 years ago

uk - Ukrainian cyrillic chars!! wtf uk - its United Kingdom (England) ua - it is Ukraine

ashtokalo commented 9 years ago

Please read about ISO 639 is a set of standards by the International Organization for Standardization that is concerned with representation of names for language and language groups. You can check the Ukrainian language here https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes, see column ISO 639-1.

At same time you can search for ISO 3166, it's standard for country names, and ISO 3166-1 describes codes like UA for Ukraine and UK for United Kingdom.