Re: store i18n data in database

2008-12-07 Thread jitka (poLK)
So, you are looking for web based editor of gettext files. I am not aware of anything what can be easily used in cake app, but fast googling told me there are some projects which one could learn from, like GGTT, phpTranslator, PHPTrans, Pootle... Do not blame me, if they will not suit your needs

Re: store i18n data in database

2008-12-06 Thread Günther Theilen
Hi, thanks for the answers but the don't really cover my problem. Maybe my explanation was a bit blurry... Let's say I have a link like this: $html-link(__('edit data', true), array(...)) This works fine with the translations for 'edit data' in the po-files. But in my application I have to

store i18n data in database

2008-12-05 Thread Günther Theilen
Hi, in an application I use cake's l10n class which works fine. Now I want to be able to edit some of the translations from within the application. I'd like to use the __()-function but it should get the translations from a database table instead the po-files. Has someone already done

Re: store i18n data in database

2008-12-05 Thread Penfold
Hi, Cakephp can do translation with it's built in translate behaviour. import into your sql database i18n.sql in the models that has information that requires translation add var $actsAs = array('Translate' = array([This Array Holds All Fields that should be translated])); all the fields in