|
Bugzilla – Full Text Bug Listing |
| Summary: | Wrong language settign per default in ncurses frontend | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Felix-Nicolai Müller <fnmueller> |
| Component: | Installation | Assignee: | Jiří Suchomel <jsuchome> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Minor | ||
| Priority: | P5 - None | CC: | captain.magnus, fnmueller, jsrain, locilka, mmeeks |
| Version: | Beta 2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | openSUSE 11.0 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
Screenshot of error
As requested yast2 logs My y2log patch for /usr/share/YaST2/modules/Language.ycp |
||
YaST logs, please. BTW: How exactly and why do you start `yast2 live-installer`? On a running system? *** Bug 385490 has been marked as a duplicate of this bug. *** Created attachment 212117 [details]
As requested yast2 logs
Why:
Because it's wise to run the installer in ncurses mode when e.g having a low mem system. Personaly, I just run it to test it ^^
How:
Boot from CD into KDE4. Change to tty1. Login as root. Issue init 3. Issue yast2 live-installer
Still unable to test it Why? Do you need any more input? Hmm, finally reproduced. Created attachment 212715 [details]
My y2log
Language.ycp:523 content LANGUAGE nil
Linuxrc.ycp:26 Reading install.inf, but file doesn't exist!!!
Language.ycp:526 install_inf Locale nil
Language.ycp:543 Pkg Builtin called: GetTextLocale
Language.ycp:544 setting lang to default language: POSIX
Language.ycp:347 original language: en_US; setting to lang:POSIX
Language.ycp:336 Using yast2-trans-en_US.rpm for POSIX
ShellCommand.cc(shellcommand):78 sh: extend: command not found
1.) Language should not use InstExtensionImage.ycp during the live-installation
2.) locale returns 'POSIX' for all but LC_CTYPE which is 'en_US.UTF-8'
Language::language returns POSIX (?)
That leads into the 'first Language selected (Afrikaans)'
Created attachment 212953 [details]
patch for /usr/share/YaST2/modules/Language.ycp
Hm, Language.ycp should check for Mode::live_installation, than it works.
But the installation steps are not translated before moving from the first dialog, this should be handled by the caller of inst_complex_welcome, just like during installation. Lukas?
Language.ycp should not call 'extend' during Mode::live_installation but it could still switch the current language. Two different things... (In reply to comment #10 from Lukas Ocilka) > Language.ycp should not call 'extend' during Mode::live_installation but it > could still switch the current language. Two different things... Sure. But this is not related to translating of wizard steps. Please check the wizard retranslation. Language.ycp with the patch above correctly changes the language. Patch applied to yast2-country-2.16.22. The wizard should be done either by some installation workflow (locilka) or live-installer (jsrain) Live CD contains only limited set of translations. The reported problem seems to be fixed. ^ *** Bug 388232 has been marked as a duplicate of this bug. *** |
Created attachment 209022 [details] Screenshot of error Using the B1 KDE-live-cd ncurses frontent (yast2 live-installer) produces wrong language setting "Afrikaans" instead of "English" as default setting.