note 64040 rejected from ref.gettext by bjori
| From: | bjori@php.net | Date: | Thu, 06 Apr 2006 16:38:21 +0000 |
| Subject: | note 64040 rejected from ref.gettext by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-107449@lists.php.net to get a copy of this message | ||
Note Submitter: ugaitz_elias82 at hotmail dot com
----
hi!
I try to configure gettext in my system (windows XP+apache2.05+php5).
y try with this code:
putenv("LANG=basque");
putenv("LANGUAGE=basque");
putenv("LC_ALL=basque");
$gettext_domain = "textuak";
echo setlocale(LC_ALL,"basque"); //returns basque_spanish.1252
echo bindtextdomain($gettext_domain, dirname(__FILE__)."/../locale");
echo textdomain($gettext_domain);
directories:
Locale
--basque
--LC_MESSAGES
--textuak.mo
--spanish
--LC_MESSAGES
--textuak.mo
please can someone say me what i do wrong?