[Bug 590108] Re: User get wrong system language after executing oem-config, if he is a foreigner in the country he selected in timezone select stage
Hsin-Yi, Chen
590108 at bugs.launchpad.net
Fri Sep 10 03:29:45 UTC 2010
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 ===================================================================
3 --- ubiquity-2.0.0.orig/bin/ubiquity-dm-2009-10-15 09:46:12.000000000 -0400
4 +++ ubiquity-2.0.0/bin/ubiquity-dm->>>>>2009-10-15 09:47:06.000000000 -0400
5 @@ -211,6 +211,10 @@
6 greeter = subprocess.Popen(program, stdin=null, stdout=logfile, stderr=logfile)
7 ret = greeter.wait()
8 .
9 + if self.frontend == 'gtk_ui' and os.path.exists('/usr/bin/language-installer'):
10 + langinstall = subprocess.Popen(['/usr/bin/language-installer'], stdin=null, stdout=logfile, stderr=logfile)
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.
--
User get wrong system language after executing oem-config, if he is a foreigner in the country he selected in timezone select stage
https://bugs.launchpad.net/bugs/590108
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Canonical OEM Projects.
More information about the kernel-bugs
mailing list