I forgot, you also have the $viewpath variable that you can change to
use the same "views" names but in another directory.

On Oct 25, 11:08 pm, "francky06l" <[EMAIL PROTECTED]> wrote:
> I had the same problem but I choose another way to solve this .. I have
> considered your approach and I did give name to my views in the form
> "en_viewname" or whatever "langage_viewname". For this you can automate
> this into the beforeRender and stick the "langage" letters before
> rendering the views (I was using the Session to save the current
> lengage).
> The main problem in this is to maintain multiple views.
>
> On Oct 25, 10:03 pm, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > Hi All,
>
> > I am trying to build a multilingual site and want the urls to be
>
> > example.com/lang/controller/action
>
> > example.com/en/controller/action
>
> > where the lang could be anything....how to achieve this?
> 
> > thanx
> > sandosh


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

Reply via email to