Well. Your idea looks good.
For me caching and language selection is done in flash. On the other
hand, this solution looks hard to put into our CMS. I'll think about
it.

Thank you for your help.

On Feb 17, 2:42 am, Langdon Stevenson <[EMAIL PROTECTED]>
wrote:
> 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 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to