Hello php-general, I init gettext with putenv('LANGUAGE='.$language); putenv('LANG='.$language); // Specify location of translation tables bindtextdomain ("messages", "./locale"); // Choose domain textdomain ("messages"); where $language is either "de" or "en".
This works good, but if the .mo file gets changed the old content is returned by calls to gettext, until I restart Apache. This is with my local server. On the remote server, where I upload the files there is even no translation ATM, although there already has been some. my local server is: Apache 1.3.27 PHP 4.3.3 LoadModule php4_module c:/www/php/sapi/php4apache.dll remote server is also Apache/1.3.27 (Linux/SuSE) PHP/4.3.3 mod_perl/1.27 Any solutions? -- shinE! http://www.thequod.de ICQ#152282665 Dj Sosse - Summerscream II rocks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php