|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
Author |
Message |
Topic: [Solved]Creation on a custom function for {_("")} |
zakwil
Replies: 2
Views: 17831
|
Forum: Plugins Posted: Thu Jul 31, 2014 6:14 am Subject: [Solved]Creation on a custom function for {_("")} |
Yes, a modifer call simply "t" is another good solution.
I can use the _() function because I don't add the php gettext extension ; that was my first choice, but I get a bug with the bind ... |
Topic: {php}echo "test";{/php}" unknown tag "ph |
zakwil
Replies: 1
Views: 17884
|
Forum: Language: French Posted: Wed Jul 30, 2014 8:37 am Subject: {php}echo "test";{/php}" unknown tag "ph |
Si tu es en smarty3 ça ne marche plus... il faut passer en mode compatibilité : SmartyBC.
http://www.smarty.net/docs/en/bc.tpl |
Topic: [Solved]Creation on a custom function for {_("")} |
zakwil
Replies: 2
Views: 17831
|
Forum: Plugins Posted: Wed Jul 30, 2014 7:24 am Subject: [Solved]Creation on a custom function for {_("")} |
Hello,
I want to display multilingual text with smarty3, I tried to use {_("text")}, which displays 'text', but I want to add custom php code to handle the i18n.
Can someone could tell ... |
Topic: [Résolu] Hook sur le tag {_("texte")} |
zakwil
Replies: 0
Views: 14753
|
Forum: Language: French Posted: Wed Jul 30, 2014 7:21 am Subject: [Résolu] Hook sur le tag {_("texte")} |
Bonjour,
Dans le but de gérer du multilingue je voudrai savoir comment faire pour mettre un hook sur le tag : {_("texte")}
Ce dernier affiche "texte" depuis le tpl mais je vo ... |
|
Page 1 of 1 |
All times are GMT |
Powered by phpBB © 2001, 2005 phpBB Group
|