Hello,
I have big problem and don't know what's wrong...
I'm using gettext in order to translate strings on the page.
$language = 'de_DE';
//putenv('LC_ALL='.$language);
setlocale(LC_ALL, $language);
$domain = 'messages';
bindtextdomain($domain, "./locale");
textdomain($domain);
echo _("Hello World!")
This works but after five refresh page will show original (english) strings. Further, after next five refresh translations is visible again, and so on...
What can be the problem here?
Slackware, lighttpd, PHP5