All languages in one file

Hi,

I would like to know if there is some way to have all my translations in one file and not in separate folders for every language. Because when there will be more languages(20) it would be hard to update every single language file when something is changed. I’m not sure which way is better, but all in one file seems easier to edit. But is that possible with yii somehow?

There are examples on the internet using xml and jquery, but not with yii framework.

Something like this would be ideal


<?xml version="1.0" encoding="UTF-8"?>

<translations>

    <translation id="title">

        <english>Hello there, how are you?</english>

        <italian>Ciao, come stai?</italian>

    </translation>

</translations>

Thanks!

There is a console command yiic message that will sync language files for you.