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

Bug#230463: invalid locale message



At Sat, 31 Jan 2004 13:51:55 -0800,
Matt Kraai wrote:
> On Sat, Jan 31, 2004 at 11:10:50AM +0900, Kenshi Muto wrote:
> > But something change occured about "debian-installer/locale" variable?
> 
> The debian-installer/locale variable is "en_US" until
> countrychooser is run, which changes it to "en_:en_US".

Argh, I see.
In countrychooser:

----------------------
localecode="debian-installer/locale"
 ...
if [ "$COUNTRYCODE" != "$COUNTRYCODE_LANGUAGECHOOSER" ]; then
      LOCALE=${LANGUAGECODE}_${COUNTRYCODE}:${LOCALE}
fi
 ...
db_set "$localecode" "$LOCALE"
----------------------

Hmm, base-config(termwrap) expects debian-installer/locale is just
locale, like "en_US" or "ja_JP.EUC-JP" and so on.

I prefer countrychooser should preserve debian-installer/locale as old
style. Such as "en_:en_US" breaks compatibility with old style, and
needs modifying base-config (and may cause another bug...).

Christian, have you any idea for solve this problem?

Thanks,
-- 
Kenshi Muto
kmuto@debian.org



Reply to: