Bug#454146: Mistake with pt_BR-UTF-8 locales
On Mon, 2007-12-03 at 15:51 +0100, Aurelien Jarno wrote:
> Fabiano Manoel de Andrade a écrit :
> > Package: locales
> > Version: 2.7-3
> > Severity: normal
> >
> >
> > Im having problems with locales. I use pt_BR.UTF-8 but the
>
> According to the System Information, you are trying to use the pt_BR
> locale, while generating only the pt_BR.UTF-8 locale.
No I have two locales generated in my system, but still have the problem.
> To fix the problem, either switch to pt_BR.UTF-8 or generate pt_BR locales.
I,m using right now the pt_BR.UTF-8 locale take a look:
# cat /etc/environment
LANG="pt_BR.UTF-8"
LANGUAGE="pt_BR:pt:en"
# dpkg-reconfigure locales
Generating locales (this might take a while)...
pt_BR.UTF-8... done
Generation complete.
# locale
LANG=pt_BR.UTF-8
LANGUAGE=pt_BR:pt:en
LC_CTYPE="pt_BR.UTF-8"
LC_NUMERIC="pt_BR.UTF-8"
LC_TIME="pt_BR.UTF-8"
LC_COLLATE="pt_BR.UTF-8"
LC_MONETARY="pt_BR.UTF-8"
LC_MESSAGES="pt_BR.UTF-8"
LC_PAPER="pt_BR.UTF-8"
LC_NAME="pt_BR.UTF-8"
LC_ADDRESS="pt_BR.UTF-8"
LC_TELEPHONE="pt_BR.UTF-8"
LC_MEASUREMENT="pt_BR.UTF-8"
LC_IDENTIFICATION="pt_BR.UTF-8"
LC_ALL=
But using a user account a get this
$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or
directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=pt_BR
LANGUAGE=pt_BR:pt:en
LC_CTYPE="pt_BR"
LC_NUMERIC="pt_BR"
LC_TIME="pt_BR"
LC_COLLATE="pt_BR"
LC_MONETARY="pt_BR"
LC_MESSAGES="pt_BR"
LC_PAPER="pt_BR"
LC_NAME="pt_BR"
LC_ADDRESS="pt_BR"
LC_TELEPHONE="pt_BR"
LC_MEASUREMENT="pt_BR"
LC_IDENTIFICATION="pt_BR"
LC_ALL=
My gnome desktop have things in english but locale is set to
pt_BR.UTF-8.
For compatibility I've used pt_BR.ISO-8859-1 and pt_BR.UTF-8 with
pt_BR.UTF-8 as the default locale. If I do this
# dpkg-reconfigure locales
Generating locales (this might take a while)...
pt_BR.ISO-8859-1... done
pt_BR.UTF-8... done
Generation complete.
I still have pt_BR.UTF-8 for the root but pt_BR for users. So
definitively there is a bug in locales, at last in pt_BR and pt_BR.UTF.8
locales.
Thanks in advance.
Fabiano.
Reply to: