Page 1 of 1

having Album multilingual

Posted: Tue Sep 08, 2009 11:05 am
by nicmare
I am really wondering why there is no thread about this issue.
In my album template is the returnlink:
{if $returnlink}Return to the album index page{/if}
as you can see it is just in one language.
i added lang=$lang in smarty code in my page where i want the album to appear.
but how can i use the vars from the external language files?
i spotted $lang['return'].
therefore i tried {$lang>return} or {$lang('return')}
but nothing works.
any ideas?
thanks a lot!

Re: having Album multilingual

Posted: Tue Sep 08, 2009 11:30 am
by Jos
Language variables are not available in a Smarty template. They have to be assigned to a smarty variable in the php-code first.

Re: having Album multilingual

Posted: Tue Sep 08, 2009 11:42 am
by nicmare
oh, what a pitty. thanks anyways

Re: having Album multilingual

Posted: Mon Sep 14, 2009 10:32 am
by Peciura
A month ago i used "TranslationManager" module http://dev.cmsmadesimple.org/projects/trmanager. This way created small dictionary for some modules.