Hi majna

As you say, this isn't about Cake, its just a PHP design patern.

What you suggested is pretty much what I do, except that I get the 
language setting from the browser.  To allow me to cache views though I 
will need to do as you are suggesting and add the language to the URL.

Langdon


majna wrote:
> products table: add language_id.
> 
> for language detection add lang in URl,
> like: products/view/en/123... or somethin else.(so page could be
> linked)
> grab this "lang", find language id and select from products where
> language:id....
> put language_id in session etc.
> 
> This is not CAKE feature, but general web app design i think?!

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to