Re: For gettext() - "Apache server restarting" and "set Server Locale"

From: Date: Sun, 20 Jan 2008 05:14:35 +0000
Subject: Re: For gettext() - "Apache server restarting" and "set Server Locale"
References: 1  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-1145@lists.php.net to get a copy of this message
> Hi All > > Do we have to "restart apache server" and "set server locale" for get the > support of gettext() function. If yes, then is there are another alternative > for this. You need system locales present on server in order to get working gettext translation. You must restart apache, if you change translation and recompile .mo files. You don't have to change system locale on server. Locale can be set in php scripts with setlocale() and putenv(). If you don't control system locales installed on server, there are php-gettext classes on savanah.gnu.org. -- Tomas

« previous php.i18n (#1145) next »