Depends on your needs. If you need to translate whole static pages and
your translators are able to translate them (means: not going to break
some code in these views), then I would vote for using Controller::
$viewPath, like:

class PagesController extends AppController {
    ....
    function beforeRender() {
        parent::beforeRender();
        $this->viewPath .= '-' . Configure::read('Config.language');
    }
}

and manage separate set of static pages in app/views/pages-en like
folders.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to