|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
Author |
Message |
Topic: Translation plugin |
jeliasson
Replies: 3
Views: 20896
|
Forum: Plugins Posted: Thu Jan 10, 2013 8:44 pm Subject: Translation plugin |
One question however,
Is it possible to get ABOUT_ME from {translate ABOUT_ME}?
If yes, how?
Also, if is it then possible to pass more arguments? e.g. {translate ABOUT_ME language=en}? |
Topic: Translation plugin |
jeliasson
Replies: 3
Views: 20896
|
Forum: Plugins Posted: Thu Jan 10, 2013 8:43 pm Subject: Translation plugin |
Nevermind, I will go for a function and use {translate name=ABOUT_ME language=en} |
Topic: Translation plugin |
jeliasson
Replies: 3
Views: 20896
|
Forum: Plugins Posted: Thu Jan 10, 2013 8:32 pm Subject: Translation plugin |
Hi,
I've created a translation module in PHP which I want to call using Smarty.
However, I'm not passing the translation variable(s) to the view and I want to call it like {ABOUT_EMAIL|translate} ... |
|
Page 1 of 1 |
All times are GMT |
Powered by phpBB © 2001, 2005 phpBB Group
|