Hi mouth,
This is the line that probably matters 4 U, in cake/bootstrap.php:
$filename = CACHE . 'views' . DS . convertSlash($uri) . '.php';
Assuming that your language is stored in the session, and you want the
least hacky way I would suggest an approach like this:
* in /app/config/bootstrap.php check the URL and if it doesn't contain
an explicit variable with the session language - add it. (e.g.
/pages/home -> /de_DE/pages/home)
* Create a route so that will ensure that the first parameter is not
understood to be the controller ('/de_DE/:controller/:action/*')
* Check that it works and renders the right cache ;)
HTH,
AD7six
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---