2008年8月23日星期六

[fw-mvc] Language Change Best Practice

Hi guys,

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!

Patrick van de Glind

Your partner in webdesign and webapplications

没有评论: