Fabiano Manoel de Andrade a écrit : > 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
LANG should not be set to pt_BR which doesn't exist. It should be set either to pt_BR.UTF-8 or pt_BR.ISO-8859-1 depending on the locales that are available on your system. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]