if you want to localize whole view files - why not just add some/other/path 
to the paths cake checks for them (see config/bootstrap) instead of trying 
to change a specific view file in beforeRender.

Personally, I have /locale/lang/views auto added as an additional path to 
check for view files which makes /locale/spa/views/pages/conciciones.ctp 
(etc.) very easy to handle.

hth,

AD




Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to