setlocale and pt_BR problem on debian
| From: | Jonis Maurin Ceará | Date: | Fri, 25 Mar 2005 19:47:33 +0000 |
| Subject: | setlocale and pt_BR problem on debian | ||
| Groups: | php.general php.i18n | ||
| Request: | Send a blank email to php-general+get-211595@lists.php.net to get a copy of this message | ||
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");