Welcome, Guest. Please login or register.
Did you miss your activation email?
12 Mar 2010, 19:11

Login with username, password and session length
Home Chat Help Search Calendar Login Register
Pages: [1]
Print
Author Topic: [SOLVED] Get translations in smarty?  (Read 395 times)
0 Members and 1 Guest are viewing this topic.
Sonya
Power Poster
***

Karma: 22
Offline Offline

Posts: 820

Location: Germany


Russian minded, German located


WWW
« on: 03 Jul 2009, 17:15 »

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?
« Last Edit: 04 Jul 2009, 05:24 by Sonya » Logged

alby
Member Support Team
Support Guru
Power Poster
****

Karma: 139
Offline Offline

Posts: 4687

Location: Ferrara, Italy


My kids


« Reply #1 on: 03 Jul 2009, 17:52 »

Is there any simpler way?

http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel/Extensions/Translation_Manager  Wink

Alby
Logged

Sonya
Power Poster
***

Karma: 22
Offline Offline

Posts: 820

Location: Germany


Russian minded, German located


WWW
« Reply #2 on: 04 Jul 2009, 05:24 »


Genius! This is exactly what I have been looking for. Thank you!
Logged

Pages: [1]
Print
Jump to: