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

Bug#479208: debian-installer: text frontend isn't localized



Hello,

Samuel Thibault, le Sat 03 May 2008 21:55:39 +0100, a écrit :
> > On Saturday 03 May 2008, Samuel Thibault wrote:
> > > When booting the installer (today's daily build of x86 mini.iso) with
> > > DEBIAN_FRONTEND=text , the language selection is reduced to C and
> > > English.  Is there a reason for that?
> > 
> > The current assumption is that people using the text frontend are probably 
> > doing so because they have a very limited environment which may well not be 
> > able to handle characters that are not pure ASCII.
> 
> Well, I would say that that assumption should rather be based on
> the kind of terminal (i.e. here, serial console, VT console, or
> framebuffer), not on the kind of debconf frontend.

Actually that is already done in localechooser.

> > If braille devices are guaranteed to be able to handle that
> 
> They do.
> 
> > You'll need to specify what range is supported based on the language levels 
> > defined for localechooser (e.g. are CJK languages supported; is Cyrillic or 
> > Greek?).
> 
> Well, it's the same as what the linux console itself can handle, i.e.
> not CJK, Cyrillic or Greek, just because the fonts are not available in
> the installer.
> 
> > See the README file in the source code for localechooser and the 
> 
> Ok, I'll have a look at that.

It looks to me like just doing this should be fine:

--- localechooser-2.03/localechooser.orig	2008-06-19 00:23:38.000000000 +0100
+++ localechooser-2.03/localechooser	2008-06-19 00:23:51.000000000 +0100
@@ -58,8 +58,6 @@
 
 	#log "Frontend in use: $DEBIAN_FRONTEND"
 	case $DEBIAN_FRONTEND in
-	    text)
-		level=0 ;;
 	    gtk)
 		level=4 ;;
 	    *)

because the serial and dumb terminal cases are already handled below.
The documentation patch would be

--- localechooser-2.03/README.orig	2008-06-19 00:25:35.000000000 +0100
+++ localechooser-2.03/README	2008-06-19 00:26:41.000000000 +0100
@@ -71,8 +71,8 @@
 Which languages are supported depends on the installation method and on
 the cdebconf frontend that is being used.
 Currently 5 levels are distinguished:
-- no framebuffer and text interface      -->level 0 (only ASCII)
-- no framebuffer and other interface     -->level 1 (only Latin1)
+- dumb or serial terminal                -->level 0 (only ASCII)
+- no framebuffer                         -->level 1 (only Latin1)
 - framebuffer and non-graphical interface-->level 2 and 3 (no combining langs)
 - framebuffer and graphical interface    -->level 4 (all langs)
 
@@ -80,10 +80,7 @@
 list of languages. These lists are created at package build-time from
 the contents of the second field of languagelist entries.
 
-Stricto-sensu, the text interface could use all languages but it will most
-often be used in situation where the display is "poor", so it is assumed
-that only ASCII languages may be displayed. When the gtk frontend is used,
-it is assumed that all languages are supported.
+When the gtk frontend is used, it is assumed that all languages are supported.
 
 The steps during language selection are:
 



Reply to: