On Wed, May 09, 2001 at 07:27:12PM +0200, blenderman wrote: > > > On Wed, 9 May 2001, Jean-Francois Straeten wrote: > > > On Tue, May 08, 2001 at 03:14:14PM +0200, Pablo Saratxaga wrote: > > > > Salut le Revenant, :-) > > > > > > > variable LANG=fr et LANGUAGE=fr. > > > > > Bref, je compile, recompile...et ca marche pas > > > > > > > > > > Tout ce que je voudrais c'est la sortie de 'date' en francais... > > > > > > > > LC_MESSAGES=french > > > > > > > > marche ici. > > > > > > Ce qui est �tonnant, car la date est definie par LC_TIME ! > > > (peut-�tre as-tu defini LANG, qui est utilis� comme valeur par d�faut si > > > un LC_* donn� n'est pas defini) > > > > Yep. T'as raison mille excuses. LANG est � "french" et c'est LC_MESSAGES qui > > est � "english". > > > > Dans un script o� il me faut la date en fran�ais, je red�finis > > LC_MESSAGES=french � gauche de la commande date, et c'est l� que j'ai �t� > > voir. > > > [19:23:53][blenderman@Slack:~]$ set LC_MESSAGES=french > [19:24:01][blenderman@Slack:~]$ date > Wed May 9 19:24:03 CEST 2001 > [19:24:03][blenderman@Slack:~]$ set LANG=french > [19:24:16][blenderman@Slack:~]$ date > Wed May 9 19:24:17 CEST 2001 > [19:24:17][blenderman@Slack:~]$ set LC_MESSAGES=fr > [19:24:24][blenderman@Slack:~]$ date > Wed May 9 19:24:25 CEST 2001 > [19:24:25][blenderman@Slack:~]$ set LANG=fr > [19:24:28][blenderman@Slack:~]$ date > Wed May 9 19:24:29 CEST 2001 > [19:24:29][blenderman@Slack:~]$ > > PffffF c chiant !! > > -pol- (et ma prof de chimie qui rale parce que c en anglais...)
Sous linux bash, je cois que l'on utilise export LC_MESSAGES=french Mathieu [ Soyez pr�cis dans vos sujets svp afin de d�terminer directement ] [ le type de demande... ] [ Pour vous (d�s)inscrire, aller sur http://linuxbe.org/ml.php ] [ http://LinuxBe.org Contact: [EMAIL PROTECTED] ]
