Trapper
Trapper

Reputation: 9

Yii translations

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

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

Upvotes: 0

Views: 318

Answers (3)

Rogin Thomas
Rogin Thomas

Reputation: 772

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

Upvotes: 2

Ivošš
Ivošš

Reputation: 1146

You can use this easy example:

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

Upvotes: 0

ezze
ezze

Reputation: 4110

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

Upvotes: 0

Related Questions