Re: setlocale and pt_BR problem on debian
| From: | Christian Stadler | Date: | Sat, 26 Mar 2005 20:57:15 +0000 |
| Subject: | Re: setlocale and pt_BR problem on debian | ||
| References: | 1 | Groups: | php.general php.general php.i18n php.i18n |
| Request: | Send a blank email to php-general+get-211635@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jonis Maurin Ceará schrieb:
> Hi
Hi Jonis,
> 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.
Is pt_BR being listed, when you execute
locale -a
on the commandline?
system('locale -a'); should do the trick, if you don't have shell access.
Regards,
Christian Stadler
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCRcyr9250Hcbf/3IRAnGtAJ4wK0vjx9pB5C8aw9ppYlZOCX6d3ACeN9MP
R+Uwqo6hfR0VD/KLk7Hzhrg=
=mYQD
-----END PGP SIGNATURE-----