This is my solution.
http://www.consulenza-web.com/gestine-multilingua-su-cakephp.dc-52.html

I wrote in my italian blog but code is universal.
My solution provide a simple way to implemente a root lang path for
every controller in app.
This solution il extremely simple but it comes without strong rules
for managing languages.

On Mar 25, 6:44 pm, jonknee <[EMAIL PROTECTED]> wrote:
> > I need a multi language site with cakephp. Ok, this topic is discuss
> > commonly. But I need a friendly-url solution, something's like:
> >    http://mywebsite.com/lang/controller/view
>
> Couldn't you just make a space for the language in your routes and
> then deal with that variable in AppController::beforeFilter()? No need
> to manually parse anything out.
>
> Something like:
>
> Router::connect('/:lang/:controller/:action');

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to