setlocale and pt_BR problem on debian

Jonis Maurin Ceará <[email protected]>
Newsgroups gmane.comp.php.internationalization,gmane.comp.php.general
Message-ID <[email protected]>
Hi

I'm trying to use setlocale to setup my language to pt_BR for ue with 
strftime but don't work.

I've tryied:
pt_BR
pt_BR.ISO_8859-1
portuguese.br
etc...


but don't work, i just get in english.

What's wrong? :(

My system:
OS: Debian Sarge
Apache 2
PHP 4.3.10-9

My simple code:

setlocale(LC_ALL, "pt_BR.ISO_8859-1"); // Tryed others too
echo strftime("%A");

-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.