/srv/irclogs.ubuntu.com/2008/01/05/#ubuntu-installer.txt

* michael_e_brown hopes he can ask this question in a way that doenst sound too ignorant00:45
michael_e_brownhow do I set the value of languagechooser/language-name?00:45
michael_e_brownit is a debconf variable and google is not my friend...00:47
BagOfMostlyWaterI've never used that pastebin thing, so here's a paste:00:58
BagOfMostlyWater# debconf-get-selections --installer | grep languagechooser00:58
BagOfMostlyWaterd-i     languagechooser/language-name-ascii     select  English00:58
BagOfMostlyWaterd-i     languagechooser/language-name-fb        select  English00:58
BagOfMostlyWaterd-i     languagechooser/locale  string00:58
BagOfMostlyWaterd-i     languagechooser/language-name   select  English00:58
BagOfMostlyWaterd-i     languagechooser/language-name-latin     select  English00:58
michael_e_brownBagOfMostlyWater, I tried to use debconf-set-selections01:07
michael_e_brownand I can see in /var/cache/debconf/config.dat that it is set01:07
michael_e_brownbut oem-config is still pulling out 'English' from somewhere (when I set it to 'Spanish')01:07
michael_e_brownah. d-i instead of oem-config? let me see...01:08
michael_e_brownnope01:08
michael_e_brownI ran:01:09
michael_e_brownecho "oem-config languagechooser/language-name string Spanish" | debconf-set-selections01:09
michael_e_brownand that looks like it works by inspecting config.dat01:09
mebrownanybody home? evand?04:48
mebrownI found that if I modify /usr/lib/oem-config/oem_config/language.py04:48
mebrownnear the end of run()04:49
mebrownwhere it says self.frontend.set_language(current_language)04:49
mebrownand just hardcode the localized language, it works as I expect04:49
mebrownlooking earlier in the function, it looks like it is trying to get languagechooser/language-name from debconf04:50
mebrownand looks like it sets current_language based on that04:50
mebrownI cannot seem to get oem-config to take my changes when I use debconf-set-selection04:51
mebrownhelp would be appreciated as I am --> <-- this close to getting this but am missing something04:52
evandmebrown: sorry about that, I only got back in recently.08:21
evandmebrown: I'm taking a look at the problem as a whole now, I'll let you know in the morning whether I've made any progress08:22
bAndie91hi !09:30
bAndie91how can i install ubuntu without cdrom or network?09:31
bAndie91its important09:31
bAndie91hi !09:41
bAndie91how can i install ubuntu without cdrom or network?09:41
bAndie91its important09:41
bAndie91hi !10:06
bAndie91how can i install ubuntu without cdrom or network?10:06
bAndie91its important10:06
bAndie91hi !10:25
bAndie91how can i install ubuntu without cdrom or network?10:25
bAndie91its important10:25
bAndie91hi !10:34
bAndie91how can i install ubuntu without cdrom or network?10:34
bAndie91its important10:34
bAndie91hi10:44
bAndie91how can i load an iso image (install cd) on hdd with grub??????10:44
bAndie91its IMPORTANT10:44
stgraberyou could first stop flooding this channel, it doesn't help ..., then, it's weekend and most of the people usually here are away from their computer10:48
stgraberyou may want to check on google one of those USB flashdisk Ubuntu which is IIRC the content of an ISO image on a USB device, this should work with usb hdd too10:49
stgraber(using syslinux and not grub though)10:49
bAndie91szerinted nem googlézok idestova egy hete miatta? te hülye!10:50
bAndie91jah! és anyád a flood!10:50
stgraber...10:50
evandmebrown: `echo "d-i languagechooser/language-name string Chinese (Simplified)" | debconf-set-selections` in the oem prepare environment worked for me, though this doesn't work from the preseed file as that value gets wiped.  I'll play around with it some more after some sleep/breakfast.13:36
evandto clarify, if I do that in the oem prep stage, it's carried over to the next boot and oem-config starts off with Chinese (Simplified) selected and the interface translated as such.13:49
mebrownevand, ok, thanks I'll try that.16:27
mebrownevand, I was trying to run 'oem-config' on already-installed system and it wasnt working when I tried the same thing. I can try this really quick, though.16:28
mebrownevand, that worked.16:56
mebrownevand, I'm still curious why it wasnt working when I did it after booting into the OS.16:56
mebrownAlso, I need to figure out how to set keyboard, but can probably just inspect the code now...16:57
mebrownanybody know what keyboard should be default for Chinese?16:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!