Re: Re: [ANNOUNCEMENT] Numbers_Words-0.4 (beta) Released.

From: Date: Wed, 01 Oct 2003 06:21:34 +0000
Subject: Re: Re: [ANNOUNCEMENT] Numbers_Words-0.4 (beta) Released.
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8163@lists.php.net to get a copy of this message
On Tue, Sep 30, 2003 at 11:03:18PM -0500, jsWalter wrote: > Can I safely assume that this (nice!) package has the target language > defined from a method call because defining SETLOCALE on the fly does not > work without a restart? No. For two reasons I do not use locales: - The language names are not always equal to locale names. There is en_100 for Donald Knuth system. - I want the user can choose the language according to the needs. I image that some users would like to output the same number in two languages on the same web page - then using method argument is simplier and faster than switching locale environment. > The reason I ask, I'm doing the same thing with calendar info, and was > trying to have the language set via SETLOCALE and useing that as my > reference, but I'm not having any luck with that route. I've heard of that problem ... do setlocale() not work? -- Piotr Klaban

« previous php.pear.general (#8163) next »