I'm trying to develop a database driven translation site in cakePHP.

When I'm setting the Model locale or Config.language to a language
such as de-de like below:

Configure::write("Config.language", "de-de");
it loads the correct translations of de_DE from the i18n table.

My problem is, if the translation does not exist for another row, it
doesn't return anything. Is there anything you have to setup so if it
doesn't find anything, it returns the 'default' language translation
or the data directly from the Model??

I think it's too much work to stay checking all the time if data is
returned and if not changing the locale/language settings all time to
the default language you want..

Or maybe I'm doing this wrong?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to