Re: Using MySql DB instead of PO files

2009-03-27 Thread Richard
I have a basic table that allows me to have data-driven translations. As Mark mentioned, it's much slower to use the database, so I have a shell script to generate the .po files which is invoked when the table is updated. On Thu, Mar 26, 2009 at 3:15 PM, Sourabh wrote: > > Hi > > I am developin

Re: Using MySql DB instead of PO files

2009-03-27 Thread Mark (Germany)
i once had this idea as well but it is - as a fact - way slower than the po way AND i came up with this idea: language backend with editing/adding multiple languages to their corresponding __('textPlaceholder') and exporting it to the .po file after i am finished altering them this way it is very

Using MySql DB instead of PO files

2009-03-26 Thread Sourabh
Hi I am developing a multilingual site with cakePHP. I need to use database instead of PO files to store language strings as a requirement. What can be the best way to do it ? Can I override __() function if yes ,then how ? Thanks in advance ! Sourabh --~--~-~--~~~