Getting the iso-639-1 Language code from a Country
Hi.
I need to change the Locale in my application according to the current user Country (user is logged in and country_id available through the active session). Looking inside globalize's code and after same research I still can't figure out a way to get the iso-639-1 language code from one country.
Making an association between Languages and Countries could work, but it's hard and I don't think it's the better solution.
Any help will be appreciated.
Thanks.
--
Daniel Dias