Does anyone know what is a Best Practice in Zend Framework
for making a button / select / whatever on the website,
where you can choose another language?
right now i tried it with Zend Form, made a selection list and a Switch button,
but this doesn't work the way i expected it too, it gives a lot of errors.
What is a smart thing, considering the following:
My browser/fallback language gets set in the Bootstrap file.
The language switch is done when the user logs in, that is the priority language.
and now i have to implement a language switch that gets a higher value than the browser one, but lower than
the User language.
I figured I should use Zend_Session, but don't know for sure.
Thanks!
没有评论:
发表评论