I am making my site multilingual, with English being the default language.
I wish to have *domain.com/* display English, *domain.com/{language_code
(fr|de|sp)}* display the complete app, with all its prefix routing in the
selected language. So *domain.com/fr/admin* would translate to
Config.language being *fr* and controller => admin, action=> index..
How do I achieve this?
I have some ugly hacks in mind, but I would like to know if there is a more
"conventional" way of doing this. How is this routing done on
book.cakephp.org?
Cheers!
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.