|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
Author |
Message |
Topic: best way to build a multi-language site with smarty |
victoryoalli
Replies: 210
Views: 1202112
|
Forum: Tips and Tricks Posted: Wed Apr 23, 2003 4:38 pm Subject: GetText |
I was asking myself the same question about multilingual. I decided to use gettext.
It is really easy to use it and to mantain, once you understand it.
And the most important thing about it. It is t ... |
Topic: locale gettext & Smarty |
victoryoalli
Replies: 3
Views: 15138
|
Forum: General Posted: Tue Apr 22, 2003 5:57 pm Subject: locale gettext & Smarty |
As usual it was a silly mistake.
One of the args for the bindtextdomain($uno, $dos)
$uno='';
had an empty value, that cause that error.
Thanks |
Topic: locale gettext & Smarty |
victoryoalli
Replies: 3
Views: 15138
|
Forum: General Posted: Tue Apr 22, 2003 5:21 pm Subject: locale gettext & Smarty |
probably I should add a sample code, right..
$language = 'en_US';
putenv("LANG=$language");
$newlocale=setlocale(LC_ALL, $language);
bindtextdomain($gettext[ ... |
Topic: locale gettext & Smarty |
victoryoalli
Replies: 3
Views: 15138
|
Forum: General Posted: Tue Apr 22, 2003 5:10 pm Subject: locale gettext & Smarty |
Hi,
I am trying to use Smarty and gettext without any success. have some tried the same thing?
I am getting an error when I tried to use the php bindtextdomain function:
[error] [client 127.0 ... |
|
Page 1 of 1 |
All times are GMT |
Powered by phpBB © 2001, 2005 phpBB Group
|