[SOLVE] Translation manager on CGcalendar template

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
ataxel
Forum Members
Forum Members
Posts: 41
Joined: Thu Jul 19, 2007 1:32 pm

[SOLVE] Translation manager on CGcalendar template

Post by ataxel »

I use CMSMS MLE 1.6.6
CGCalendar - 1.2.5
TranslationManager- 0.7.8

I follow the instruction for translation manager and it works anywhere in the site but in the CGCalendar Template.
I use the

Code: Select all

{tr_key key="myKey" lang=$lang} 
on a line of the template but it does'nt seem to get the value out of the $lang variable and always gave me the main language translation.

Any ideas how to solve that please ?
Last edited by ataxel on Thu Mar 04, 2010 2:05 pm, edited 1 time in total.
ataxel
Forum Members
Forum Members
Posts: 41
Joined: Thu Jul 19, 2007 1:32 pm

Re: Translation manager on CGcalendar template

Post by ataxel »

I follow the other part of the instruction
Putting this code

Code: Select all

{tr_key key="foo" lang="$lang" assign="foo"}
in the  template and I use the FOO variable in the CGCalendar module template, that works fine.
Thank you!
Locked

Return to “[locked] CMSMS MLE fork”