On Wednesday 02 April 2008, Frans Pop wrote: > In D-I this currently results in "C, en" being displayed as languages for > serial console installs instead of "C, English". It does not result in > issues elsewhere because we "force" debconf/language to "en" if the C > locale is selected. It seems that the proper thing to do in localechooser is to clear the value of debconf/language in localechooser rather than setting it to C. This at least gets rid of the reported issue for serial console installs. > As I expect the same will happen if LC_all=C and LANG and > debconf/language are not explicitly set (needs verification!), the > problem is not confined to D-I. This indeed is a real issue. I tested this by loading the following template on a running system (so using debconf): Name: fjp/test Choices-c: a, b, c Choices: Option A, Option B, Option C Choices-nl.utf-8: Optie A, Optie B, Optie C Description: This is a test Description-nl.utf-8: Dit is een test Type: select Owners: fjp/test With the following script: $ cat test #! /bin/sh . /usr/share/debconf/confmodule db_reset fjp/test db_input high fjp/test db_go Test results: # LC_ALL=en_US.UTF-8 ./test # LANGUAGE=de ./test => Question and choices displayed in English # LC_ALL=nl_NL.UTF-8 ./test # LANG=nl_NL.UTF-8 ./test # LANGUAGE=nl ./test => Question and choices displayed in Dutch # LC_ALL=C ./test # LANG=C ./test # LANGUAGE=C ./test # LANG=nl ./test # invalid # LC_ALL=<anything invalid> ./test => Choices are the values from Choices-c! Cheers, FJP
Description: This is a digitally signed message part.