rsertelon / iso-3166-country-codes-angular

Javascript lib for ISO 3166 Country codes
http://rsertelon.github.io/iso-3166-country-codes-angular
The Unlicense
34 stars 31 forks source link

Native Country Name? #17

Open lcarva opened 9 years ago

lcarva commented 9 years ago

Would be great to have a way to display the country name in its native form not just in English. For example:

'BR' -> 'Brasil',
'IT' -> 'Italia'
rsertelon commented 9 years ago

This is not part of the ISO standard, I could to it however, but I'd need some help, for each existing country. Plus some countries have several official languages, which makes it a bit more complicated ;)

lcarva commented 9 years ago

I think this might contain all the needed data:https://github.com/hexorx/countries/blob/master/lib/cache/translations.yaml

rsertelon commented 9 years ago

Indeed. I don't have much time for now. But I'll try to work on it when possible.

vovafeldman commented 9 years ago

+1