Hi there,
I like to use the Yii::t() for translation. Is it possible to place the the translation files outside the default path?
My project:
/myApp
/myApp/application
/myApp/…
/myApp/plugin/lang/en/my-transaltion-file.php
Cheers Kai
Hi there,
I like to use the Yii::t() for translation. Is it possible to place the the translation files outside the default path?
My project:
/myApp
/myApp/application
/myApp/…
/myApp/plugin/lang/en/my-transaltion-file.php
Cheers Kai
I think you can explicitly define "basePath" property of CPhpMessageSource.
http://www.yiiframework.com/doc/api/1.1/CPhpMessageSource#basePath-detail