--- Begin Message ---
- To: Nicolas SABOURET <Nicolas.Sabouret@limsi.fr>, 114057@bugs.debian.org
- Subject: Re: Bug#114057: A proposition
- From: Eduard Bloch <edi@gmx.de>
- Date: Thu, 25 Oct 2001 10:38:15 +0200
- Message-id: <20011025103815.B31537@zombie.inka.de>
- In-reply-to: <3BD7BA1D.3265B1A6@limsi.fr>
- References: <3BD7BA1D.3265B1A6@limsi.fr>
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 ---