Re: Arrays & Keys?
| From: | John Taylor-Johnston | Date: | Thu, 25 Mar 2004 16:50:58 +0000 |
| Subject: | Re: Arrays & Keys? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181497@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/en/function.setlocale.php
That is the problem. I have tried that, but it needs to be installed. I'm not in a position to
ask on this particular server. I have PHP Version 4.3.4 all the same.
http://www.glquebec.org/English/test.php
The code echoes
Friday 22 December 1978Preferred locale for german on this system is ''
<?php
/* Set locale to Dutch */
setlocale(LC_ALL, 'nld_nld');
/* Output: vrijdag 22 december 1978 */
echo strftime("%A %d %B %Y", mktime(0, 0, 0, 12, 22, 1978));
/* try different possible locale names for german as of PHP 4.3.0 */
$loc_de = setlocale(LC_ALL, 'de_DE@euro', 'de_DE', 'deu_deu');
echo "Preferred locale for german on this system is '$loc_de'";
?>
Nadim Attari wrote:
> > I'm doing the language thing.
>
> Is this what u r looking for ?
> http://www.php.net/manual/en/function.setlocale.php