0

I need to find a powerful solution to work with l18n. Cases:

  • Translations needs to be stored in database;
  • It have managing page;
  • I can watch where this translations are used.

I think that it could be something like Yii::t + CDbMessageSource. Maybe anybody knows ready-to-deploy extension? Thank you.

TylerH
  • 20,799
  • 66
  • 75
  • 101
Trapper
  • 9
  • 1

3 Answers3

2

the tstranslation extension will help you to translate text easily.
http://www.yiiframework.com/extension/tstranslation
DEMO : http://tstranslation.sundevelop.com/

Taron Saribekyan
  • 1,360
  • 7
  • 13
Rogin Thomas
  • 672
  • 8
  • 17
0

Have you looked at this translate module? It relies on CDbMessageSource, uses Yii::t and has some functionality to manage translations.

ezze
  • 3,933
  • 2
  • 34
  • 58
0

You can use this easy example:

description: Yii: GetText _() vs Yii::t()

Community
  • 1
  • 1
Ivošš
  • 1,106
  • 12
  • 18