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

[Fwd: Bug#114057: A proposition]



Et hop ! C'est dans la poche !!

:)

j'ai gardé le mail d'Eduard. Si vous avez d'autres applis sous Woody qui
ne marchent pas avec l'alias french, je peux leur envoyer un rapport de
bug avec le diff d'Eduard.
Prévenez-moi seulement, et je le ferai.

A+,
	Nico.
-- 
Nicolas SABOURET
LIMSI-CNRS, BP133, 91403 Orsay, France
http://www.limsi.fr/Individu/nico
--- Begin Message ---
tags 114057 +pending
quit

#include <hallo.h>
Nicolas SABOURET wrote on Thu Oct 25, 2001 um 09:07:09AM:

> The idea we had, that would not make much work for you and that would
> satifsy all "french" (whatever it is) users is the following : simply
> test wether /etc/locale.alias exists and if it does, try to replace the
> value of LANG by its "real" value given in this file. If it does not
> exist (which is the cas at initial installation), work with LANG's value
> (whivh is fr_FR as far as I understand).

Done and commited to CVS. Wait for someone to build a package of it. If it
is not happened in 1-2 weeks make some noise.

--- modconf.orig	Thu Oct 25 10:07:52 2001
+++ modconf	Thu Oct 25 10:31:21 2001
@@ -9,6 +9,11 @@
 
 umask 022
 
+# preparations, resolve the LANG alias
+if grep "^$LANG" /etc/locale.alias >/dev/null 2>&1; then
+   export LANG=$(grep "^$LANG" /etc/locale.alias| sed -e 's/.*\(.._.*\).*/\1/')
+fi
+
 source_eval () {
   if [ -z "$LANG" -a -z "$LC_MESSAGES" ]; then
     . $ModuleHelpDir/eval_C

Gruss/Regards,
Eduard.
-- 
"640K ought to be enough for anybody" -Bill Gates, 1981




--- End Message ---

Reply to: