note 93209 modified in function.gettext by danbrown

From: Date: Fri, 28 Aug 2009 17:57:19 +0000
Subject: note 93209 modified in function.gettext by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-159998@lists.php.net to get a copy of this message
On Windows (XP Pro SP3) it was not sufficient to set the locale <?php setlocale(LC_ALL, "de"); ?> Prior to that I had to set the variable for the environment <?php putenv("LC_ALL=de"); // german setlocale(LC_ALL, "de"); ?> Without putenv no translation was found! --was-- On Windows (XP Pro SP3) it was not sufficient to set the locale setlocale(LC_ALL, "de"); Prior to that I had to set the variable for the environment putenv("LC_ALL=de"); // german setlocale(LC_ALL, "de"); Without putenv no translation was found! http://php.net/manual/en/function.gettext.php

« previous php.notes (#159998) next »