[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: probleme de langue



Vincent Lefevre a écrit :
On 2008-06-02 11:48:32 +0200, luc schimpf wrote:
Il semble que locale ne prends pas en compte mon fichier /etc/default/locale lorsque je fais un dpkg-reconfigure locales, voila

"dpkg-reconfigure locales" n'a pas à prendre en compte ce fichier.
Il me semble que le choix des locales à installer sont dans le fichier
"/var/cache/debconf/config.dat". Il faut peut-être un

  dpkg-reconfigure -plow locales
voilà le résultat d'un dpkg-reconfigure -plow locales :

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "fr_FR"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
  fr_FR.UTF-8... done
Generation complete.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "fr_FR"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "fr_FR"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

LANG = fr_FR -> c'est pas bon...


pour que dpkg-reconfigure te donne à nouveau le choix.

Les locales réellement installées sont données par "locale -a".


et le résultat d'un locale -a :

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_COLLATE to default locale: No such file or directory
C
POSIX
fr_FR.utf8


Si j'en crois Michelle Konsack (j'espère ne pas écorché son nom), locale est "case sensitive" et donc fr_FR.utf8 n'est pas bon et devrais être fr_FR.UTF-8... mais où et comment modifier cela ?



Reply to: