Closed Kulgar closed 8 years ago
Should be as simple as downcasing everything and comparing based on downcased, PR welcome!
Great! I'll try to do a PR soon then :)
Hi,
I18nData.languages("FR")
returns languages names not country names.
Furthermore french spelling disallow titleized languages names. On the other hand, in english you should titleize languages names.
So everything is correct.
thx for the info :D
@yld : you are absolutely right °° I don't remember what was wrong for me actually at that time... So, never mind :)
Hi! :)
It seems that French countries are not titleized when you do:
And so when you want to get the language code from the country you have to downcase it, like so:
Otherwise it returns nil. But for other languages like English, it works when the language is titleized... This bug may also be for other languages.
Could it be fixed for French? Thanks :)
Kulgar.