Which is the best way to switch between application languages?

I set up translations in application.ini:

resources.translate.data = APPLICATION_PATH"/languages"
resources.translate.adapter = "gettext"
resources.translate.options.scan =  "directory"
;resources.translate.options.disableNotices = true
;resources.translate.options.logUntranslated = true

Then I take user action from the layout, e.g. via parameter or _POST
variable.
And where I'm supposed to handle it globally?

In the bootstrap? There is no request object yet.
Application resource? How?
Front controller plugin?
Custom action controller?

Maybe it is already possible in resources,
but the docs for some resources are missing.

-- 
regards
takeshin
-- 
View this message in context: 
http://www.nabble.com/Switch-application-language-tp24768325p24768325.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to