Locale() problem

From: Date: Fri, 21 Jul 2000 14:05:37 +0000
Subject: Locale() problem
Groups: php.i18n 
Request: Send a blank email to php-i18n+get-45@lists.php.net to get a copy of this message
Hello, I am trying to use 'locale("LC_ALL", "es_ES")' to get the date formated in Spanish but I'm having a lot of problems. I'm running a FreeBSD server, using PHP as an Apache module (Apache 1.3.11 and mod_php3-3.0.16). I try from the shell, adding a .login_conf that says me:My Account:\ :charset=ISO-8859-1:\ :lang=es_ES.ISO_8859-1: and this worked. If I type 'date' on the shell I've got this viernes, 21 de julio de 2000, 07:39:39 MDT But from a PHP script that says <? setlocale('LC_TIME','es_ES.ISO_8859-1'); // or 'es_ES'... I tried this too! print strftime('%A, %B %d'); ?> I get this Friday, July 21 Any help on this? I'm getting crazy... Thanks! Tomas Garcia Ferrari Bigital http://bigital.com

« previous php.i18n (#45) next »