Re: Using MySql DB instead of PO files
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 flexible, additional infos can be attached to the lang strings and you dont lose much speed this works only for __() of course for Database Content to be translated you could use the translate behaviour yours, mark On 26 Mrz., 16:15, Sourabh sourabhmkulka...@gmail.com wrote: 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 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Using MySql DB instead of PO files
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 sourabhmkulka...@gmail.com wrote: 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 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Using MySql DB instead of PO files
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 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---