With Jamendo we use localized urls like www.j.com/en/albums and we handle this detail with regular expressions into an apache rewrites file.
Better or not, this is a way to do exactly the same thing with the ZendFramework programatically.
http://www.gsdesign.ro/blog/using-zend-framework-language-component/
This is maybe heavier because apache rewrites are faster, but you have to instanciate Zend_Translate and Zend_Locale anyway, so [...]
Posts Tagged ‘php’
Nice way to handle language with ZF
décembre 22, 2008ZF 1.7 is out
novembre 18, 2008I’m completely found of this framework which was (when I discovered it in version 0.9 ) already full featured.
The design of this framework is so well done that it doesn’t break evolution …
You don’t believe me ? Check this out :
http://devzone.zend.com/article/4045-Zend-Framework-1.7.0-is-now-available
A whole bunch of new stuffs
I tested a lot of PHP frameworks, [...]
