clone 677931 -1 reassing -1 localechooser found -1 2.44 retitle -1 localechooser: should use higher languagelevel with network-console tag -1 + patch thanks
Hi, Currently localechooser detects network-console as a terminal without framebuffer and uses languagelevel 1 for such installs. It should use higher level, because most modern ssh clients support unicode, and in any case d-i is running in UTF-8 locale (not latin1). The attached patch changes languagelevel for network-console installs to the same value as used for framebuffer based installs. Regards, Eugeniy Meshcheryakov 10 вересня 2012 о 14:08 +0100 Martin Michlmayr написав(-ла): > > After I connected to QNAP via ssh and downloaded installer components, I > > was presented with a list of languages to choose from. The list was > > quite small (screenshot: http://people.debian.org/~eugen/di-languages.png ). > > For example, Ukrainian was not in the list. There were no non-latin > > languages > > in the list. Some languages using Latin scripts were missing too. Why? > > I cannot remember the reason for this; maybe someone else can comment.
From be7383de324551218354a9863f4bdf9f54d2cd17 Mon Sep 17 00:00:00 2001 From: Eugeniy Meshcheryakov <eu...@debian.org> Date: Mon, 10 Sep 2012 23:29:59 +0200 Subject: [PATCH] Use language level 3 with network-console installs --- localechooser | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/localechooser b/localechooser index 7f5eb60..0db279d 100644 --- a/localechooser +++ b/localechooser @@ -62,7 +62,8 @@ language_display_level() { level=4 ;; *) # Keep only Latin1 languages if we don't have a framebuffer - if [ "$TERM_FRAMEBUFFER" ]; then + # and not using network-console + if [ "$TERM_FRAMEBUFFER" -o "$SSH_CLIENT" ]; then level=3 else level=1 -- 1.7.10.4
signature.asc
Description: Digital signature