We used to do this with an item table and an attrib_item table. All
the texts are stored in the attrib_item table. I don't see any reason
to store default text in the parent - after all, what is default for
one person is something another always has to change. The language can
be detected from the http header or by user selection (which may then
be cookied) and an appropriate query used to serve up the required
text.

Now we exclusively use po files via the p28n component -
http://bakery.cakephp.org/articles/view/p28n-the-top-to-bottom-persistent-internationalization-tutorial
It will automatically detect lang from the http, creates and reads
cookies and has hooks for configuration.
So long as ALL your charsets are UTF-8, you can throw anything you
want into po messages.

Hope it helps!
--~--~---------~--~----~------------~-------~--~----~
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