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, '[EMAIL PROTECTED]', '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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to