Open demianturner opened 11 years ago
[werner] This is what i use for a block inside a module called "wetter"
{{{ // get translations $aWetterLang = SGL_Translation::getTranslations('wetter',SGL_Translation::getLangID()); $GLOBALS['_SGL']['TRANSLATION'] = array_merge($GLOBALS['_SGL']['TRANSLATION'],$aWetterLang); }}}
Maybe it can be used for solving this ticket
so a block for e.g. weather can use the gui translation of the weather module on every page without the need to add specific words to the default lang file.