Is there any simple possibility to get strings from translation of the modules in smarty (templates)? I need at least friendlyname of the module and it would be perfect to get the whole langhash as well.
If I output {$gCms|print_r} I can see some vars that I need. But I am not sure how can I get them in smarty:
cms [Object]... Printing [Array] cms [Object]->langhash [Array] de_DE [Array] friendlyname
Is there any simpler way?
[SOLVED] Get translations in smarty?
[SOLVED] Get translations in smarty?
Last edited by Sonya on Sat Jul 04, 2009 9:24 am, edited 1 time in total.
[SOLVED] Re: Get translations in smarty?
Genius! This is exactly what I have been looking for. Thank you!alby wrote:http://wiki.cmsmadesimple.org/index.php ... nager Sonya wrote: Is there any simpler way?