note 23631 added to ref.gettext

From: Date: Wed, 24 Jul 2002 03:32:22 +0000
Subject: note 23631 added to ref.gettext
Groups: php.notes 
Request: Send a blank email to php-notes+get-33462@lists.php.net to get a copy of this message
for me this worked: setlocale('LC_ALL', 'en_US'); bindtextdomain('messages', './locale'); textdomain('messages'); using 2 character codes didn't work for me ever. doing a few other things worked, I think putenv('LC_ALL=en_US'); setlocale(); What I have works with php 3.0.18 and 4.2.1 I haven't tried others, and gettext 0.11.1. (This may be why code that worked for others did not work for me.) -- http://www.php.net/manual/en/ref.gettext.php http://master.php.net/manage/user-notes.php?action=edit+23631 http://master.php.net/manage/user-notes.php?action=delete+23631 http://master.php.net/manage/user-notes.php?action=reject+23631

« previous php.notes (#33462) next »