How to set a language to a module
Posted: Fri Dec 16, 2011 1:36 pm
Hello,
i would like to know, how to set a language to a module, when a instanciate it this way :
$cge = cms_utils::get_module('CGExtensions');
I use $cge to generate a dropdown field of countries. But i would like to have them translated, as in other modules.
I look in CGExtensions.module.php , i found nothing about setting the language of the current object.
Thanks
i would like to know, how to set a language to a module, when a instanciate it this way :
$cge = cms_utils::get_module('CGExtensions');
I use $cge to generate a dropdown field of countries. But i would like to have them translated, as in other modules.
I look in CGExtensions.module.php , i found nothing about setting the language of the current object.
Thanks