On Nov 26, 10:43 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Oct 2, 1:50 am, Joel Perras <[EMAIL PROTECTED]> wrote:
>
> > The best way is to localize the *content* on all your pages, and leave
> > the URLs alone. Provide your users with a method of switching locales
> > (i.e. a link), which calls an AppController function / Component /
> > Whatever which then sets the proper locale using Configure::write().
> > Your static content on your pages will then be properly translated,
> > and without any additional URL manipulations.
>
> > You might have already read this, but 
> > regardless:http://book.cakephp.org/view/163/Internationalization-in-CakePHP
>
> Lemp would the way the book works, work for 
> you?http://book.cakephp.org/ja/view/163/CakePHPにおける国際化
>
> note the similarity and difference between these two urls - and the
> fixed bit (/view/163/ in this case) could be anything, and be put
> anywhere.
>
> Cheers,
>
> AD

PS. Alt if you use array format ( note __('/users/login'..)) you'll
find it easier to manipulate urls - because you can override app
helper url and use a beforeRedirect to manipulate consistenly the
urls. if you have something fixed (like a language subdomain, not a
cookie or session var) you could also use that as a trigger to load a
language specific route file
--~--~---------~--~----~------------~-------~--~----~
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