[Catalyst] finding the chosen language
Octavian Rasnita
orasnita at gmail.com
Sat Oct 20 09:55:58 GMT 2007
Hi,
I am using Catalyst::Plugin::I18N and the program gets the list of web
browser prefered languages and it feeds them to the
$c->languages(\@prefered_langs);
After doing this, the plugin checks for which of those languages there are
translations (in the order they appear in that list) and chooses the first
language available as the current language used.
How can I find which is that language chosen?
Does Catalyst::Plugin::I18N offer a method for finding the chosen language?
Thank you.
Octavian
More information about the Catalyst
mailing list