Translate message inside calc element

Status
Not open for further replies.

OndrejH

Member
I wish to make the calc output message translated using override ini file.
The code I use to display message is:

echo JText::_( 'THANK_YOU_LATER' ) . $group_name;

Unfortunately, script only calls variables once and keeps the values (i.e. not changing them after switching to other language). I have played around joomla language filter settings without any success. Do I need any other specific approach to apply here to get php script inside calc element to get these values refreshed?

Array includes correct values:

[override protected] => Array
(
[ACCESS] => Dostupnost
[ACCESS_JOIN_0] => VYJMOUT
[ACCESS_JOIN_1] => P??IDAT
[ALTER ACCESS] => Zm?nit
[CATEGORY] => Kategorie
[SHOW TIMETABLE] => ROZVRH
[THANK_YOU] => D?ky,
[THANK_YOU_EVENTS_ACCESSIBLE] => se V??m nyn? zobrazuj? i V??m.
[THANK_YOU_EVENTS_PUBLISHED_BY] => ! Rozvrhy, kter?? zve??ej??uje
[THANK_YOU_LATER] => Pozd?ji m????ete volbu zm?nit a zobrazovat i
)

However with no effect on displayed text variable.
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top