Page 1 of 1

Album module - change of language not possible

Posted: Wed Oct 25, 2006 7:54 pm
by maetmar
I have an issue with the album module (Version 0.7.4).
Standard Language is english and I would like to change to german.
I have already added the file de_DE.php to ..modules\Album\lang but and when calling the module in the content block of the respective page I used the following parameters: {cms_module module="album" lang="de_DE"}

The album will always be displayed in english - what am I doing wrong?

Thanks for your help

Re: Album module - change of language not possible

Posted: Wed Oct 25, 2006 8:07 pm
by pishkus
maybe you should try to edit your config.php place $config['locale'] = ''; and enter de_DE
or maybe the module takes default server locale?

Re: Album module - change of language not possible

Posted: Wed Oct 25, 2006 8:21 pm
by maetmar
Thanks for this hint.
I changed the setting in config.php but the result is the same.
I even renamed the file of the german translation "de_DE.php" to "en_US".php but still the album is in english.
Where does the module thakes it´s translations from?

Re: Album module - change of language not possible

Posted: Wed Oct 25, 2006 10:09 pm
by Dee
The lang parameter doesn't do anything at the moment, all the (front-end) text comes from the db-templates (they should actually be moved to the lang file). Edit the templates in the Album admin on the "Templates" tab.

Re: Album module - change of language not possible

Posted: Thu Oct 26, 2006 5:37 pm
by maetmar
Thanks - now I was able to change the translation. No ideal solution, but a solution at all  ;)