Actions

Talk

Plugin localization

From LimeSurvey Manual

I am not sure if it is possible to use different message sources at the same time. (for example use .po and Db at the same time). So far I had the impression that it was not possible, at least not when using the standard Yii app language object. If every plugin instantiates its own lang translation function it would not be a problem, though. In general I don't care how a plug in translates itself, though we should encourage to use the .po/.mo standard. But it might be easier for some plugin auhtor to use a different system. --C schmitz (talk) 10:47, 18 July 2016 (CEST)


In fact : Yii already allow different cache for example. But must be set quicly (in config);, i think but not sure : different translation source can can be allowed with the same manner. If we can not do it like this : we can extend Yii system to allow different translation source. Using sme systme than modules : http://www.yiiframework.com/doc/guide/1.1/en/topics.i18n#c3902 Yii::t('MyModuleNameModule.translation','it works'); --DenisChenu (talk) 11:31, 18 July 2016 (CEST)