I did a patch to fix this bug. there was a two part need to modify.
1. Upgrade d-i/localechooser to 2.27 or greater to support that pressed LOCALE, LANGUAGE, COUNTRY but not only LOCALE, can anyone help to upgrade localechooser of ubiquity.
2. Modified language-installer, a hook script executed after ubiquity with a hack in the function `run` /bin/ubiquity-dm as below
What language-installer do is to Install languages deb by user's prefer display interface language, and it suppose to install by LOCALE variable , not by first language in LANGUAGE variable. I had done a fix for language-installer version 39, but now langauge-installer upstream moves to version 43. I will discuss with Steve.
I did a patch to fix this bug. there was a two part need to modify.
1. Upgrade d-i/localechooser to 2.27 or greater to support that pressed LOCALE, LANGUAGE, COUNTRY but not only LOCALE, can anyone help to upgrade localechooser of ubiquity.
2. Modified language-installer, a hook script executed after ubiquity with a hack in the function `run` /bin/ubiquity-dm as below
1 Index: ubiquity- 2.0.0/bin/ ubiquity- dm ======= ======= ======= ======= ======= ======= ======= ======= ==== 2.0.0.orig/ bin/ubiquity- dm-2009- 10-15 09:46:12.000000000 -0400 2.0.0/bin/ ubiquity- dm->>>> >2009-10- 15 09:47:06.000000000 -0400 Popen(program, stdin=null, stdout=logfile, stderr=logfile) exists( '/usr/bin/ language- installer' ): Popen([ '/usr/bin/ language- installer' ], stdin=null, stdout=logfile, stderr=logfile)
2 =======
3 --- ubiquity-
4 +++ ubiquity-
5 @@ -211,6 +211,10 @@
6 greeter = subprocess.
7 ret = greeter.wait()
8 .
9 + if self.frontend == 'gtk_ui' and os.path.
10 + langinstall = subprocess.
11 + ret = langinstall.wait()
12 +
13 def kill_if_exists(pid, signum):
14 try:
15 os.kill(pid, signum)
What language-installer do is to Install languages deb by user's prefer display interface language, and it suppose to install by LOCALE variable , not by first language in LANGUAGE variable. I had done a fix for language-installer version 39, but now langauge-installer upstream moves to version 43. I will discuss with Steve.