pascatgm a écrit :
Il semble que locale ne prends pas en compte mon fichier /etc/default/locale lorsque je fais un dpkg-reconfigure locales, voila le résultat:Klaus Becker a écrit :Am Montag, 2. Juni 2008 08:36 schrieb luc schimpf:...ce qui m'étonne, c'est que tout est commenté. Voici la mienne : $ cat /etc/locale.gen de_DE@euro ISO-8859-15 de_DE.UTF-8@euro UTF-8 ### BEGIN DEBCONF SECTION FOR localeconf # Do not edit within this region if you want your changes to be preserved# by debconf. Instead, make changes before the "### BEGIN DEBCONF SECTION# FOR localeconf" line, and/or after the "### END DEBCONF SECTION FOR # localeconf" line. ### END DEBCONF SECTION FOR localeconf fr_FR.UTF-8@euro UTF-8 fr_FR.UTF-8 UTF-8 fr_FR@euro ISO-8859-15 fr_FR ISO-8859-1 de_DE ISO-8859-1 de_DE.UTF-8 UTF-8 bye KlausNan nan la ligne fr_FR.UTF-8 UTF-8 est bien décommentée... Je dois avouer que je ne vois pas .... Une corruption de fichier ? P.
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"). voilà la sortie de locale : 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=fr_FR LC_CTYPE="fr_FR" LC_NUMERIC="fr_FR" LC_TIME="fr_FR" LC_COLLATE="fr_FR" LC_MONETARY="fr_FR" LC_MESSAGES="fr_FR" LC_PAPER="fr_FR" LC_NAME="fr_FR" LC_ADDRESS="fr_FR" LC_TELEPHONE="fr_FR" LC_MEASUREMENT="fr_FR" LC_IDENTIFICATION="fr_FR" LC_ALL= et enfin : cat /etc/default/locale LANG=fr_FR.UTF-8 Si je fais : export LANG=fr_FR.UTF-8 suivi d'un locale: locale LANG=fr_FR.UTF-8 LC_CTYPE="fr_FR.UTF-8" LC_NUMERIC="fr_FR.UTF-8" LC_TIME="fr_FR.UTF-8" LC_COLLATE="fr_FR.UTF-8" LC_MONETARY="fr_FR.UTF-8" LC_MESSAGES="fr_FR.UTF-8" LC_PAPER="fr_FR.UTF-8" LC_NAME="fr_FR.UTF-8" LC_ADDRESS="fr_FR.UTF-8" LC_TELEPHONE="fr_FR.UTF-8" LC_MEASUREMENT="fr_FR.UTF-8" LC_IDENTIFICATION="fr_FR.UTF-8" LC_ALL=Là ça semble bon mais ça ne change rien au comportement de mes applis et deplus, la commande export n'est pas permanente donc au reboot suivant retour au point de départ...
Merci