Alex <[EMAIL PROTECTED]> napisał(a): > I've implemented Zend_Translate but I would like to have unique urls for > different locales. Currently I set locale via a cookie. > > I would like the current locale appended to all urls. (...) > What would be the best way to implement this?
Just from the top of my head -> I would probably create all the routes with :lang parameter, like: :lang/:controller/:action/* :lang/archive/:year/:month etc... And then I would create a plugin which would be executed post routing to initialize locale related stuff injecting needed information/objects into request or to registry. > - Alex -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= "Idleness is not doing nothing. Idleness is being free to do anything." -- Floyd Dell