> 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
-~----------~----~----~----~------~----~------~--~---