How To Achive Efficient Way Of Translating Whole Sitel


I had done before only message translation in yii<2, but currently in project I am doing in Yii2 and its big one. It has more than 50 tables. I have to translate every entry that that we make in table to foreign language.

So I will try CDbMessage translation in yii2

How can I achieve this in efficient way. Do I need to make all respective table in foreign language table. Is there any solution to achieve this without making each replica of all table in other language

Further how yii2 achieve this CDbMessage translation, is any document link. Please do share.

Thank you.

You may read about this in DbMessageSource api docs.