> The problem with your suggestion is say my customer comes along and
> now wants the site in french as well as spanish, catalan, italian and
> dutch. I would have to go and add all the fields into each table.

Did you read my entire post? This is the beauty of my suggestion, not
the problem! Doing it your way, you will have to add tables to the
database every time you add a language. Doing it my way you don't have
to add or change anything. It will work the same whether you have 1
language, or  100.

I was not suggesting that you add a different field for each language,
instead you have one field called "language". In that field you will
put French, Spanish, Catalan, Italian, or what ever language you like.

> >... Just add a field to identify the language.
>
> > page.id
> > page.name
> > page.language
> > page.header
> > page.body
>
> > Now when some one goes to the "home" page, you can simply query
> > page.name=home AND page.language = users_language


--~--~---------~--~----~------------~-------~--~----~
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