| Thursday 13 January 2011 5:10:57 am 
                                                                
                                                                 Hi, i have a module which should output translated messages. The site is set up to have two languages and it works for content pages, but in the module i cannot get the translation working, it always puts out the default string. Here is my siteconfig site.ini.append from the translated language: 
[SiteSettings]SiteURL=localhost/eng
 [RegionalSettings]
 Locale=eng-GB
 ContentObjectLocale=eng-GB
 ShowUntranslatedObjects=disabled
 SiteLanguageList[]
 SiteLanguageList[]=eng-GB
 SiteLanguageList[]=ger-DE
 TextTranslation=enabled
 I used ezlupdate to generate the xml file which is placed in /extendsions/modulename/translations/eng-GB and translated to the english language. In the templates i work with: {"Germantext"|i18n('some/category')} but if i switch to the english language, still the german texts are displayed. cache is cleared, autoload rebuilt Do i have to tell Exponential somehow which modules are translated in which language, so it reads the language files? |