[Bug 664797] New: Starting yast2 <module> from command line uses English only, not other set primary language
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c0 Summary: Starting yast2 <module> from command line uses English only, not other set primary language Classification: openSUSE Product: openSUSE 11.4 Version: Milestone 5 of 6 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: terje@nordland-teknikk.no QAContact: jsrain@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b7) Gecko/20101105 Firefox/4.0b7 Starting yast2 <module> from Gnome terminal command line uses English only, not other primary language. A couple of examples tested where Norwegian is set as primary language: yast2 nfs yast2 nfs_server However, starting the modules from the YaST2 GUI control center uses the selected Gnome session language. Reproducible: Always Steps to Reproduce: 1.as above 2. 3. Actual Results: as above Expected Results: YaST should use the selected Gnome session language. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c wei wang <wewang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wewang@novell.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c1 Stefan Schubert <schubi@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schubi@novell.com AssignedTo|yast2-maintainers@suse.de |bnc-team-gnome@forge.provo. | |novell.com --- Comment #1 from Stefan Schubert <schubi@novell.com> 2011-01-18 09:36:35 UTC --- I have tested with KDE which works fine. So, I think it is more in the GNOME corner. :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c2 Pieter De Decker <pdedecker@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |pdedecker@gmail.com Resolution| |NORESPONSE --- Comment #2 from Pieter De Decker <pdedecker@gmail.com> 2011-02-20 09:47:38 UTC --- Can't reproduce under openSUSE 11.4 RC1. I tried launching YaST from the start menu and I did "sudo yast2 nfs" in a GNOME terminal. In both cases, my primary language (Dutch) was used. (changed during the 2011-02-20 bug day about bugs for obsolete versions ofopenSUSE) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c3 --- Comment #3 from Terje J. Hanssen <terje@nordland-teknikk.no> 2011-02-20 11:06:51 UTC --- Yes, tested and reproduced now on 11.3 RC1 x86_64/Gnome 2.32.1: CLI: 'yast2 nfs' as superuser bring up NFS widgets in English (secundary lang) GUI: YaST2 control center > Network Services > NFS Client comes correct i Norwegian (primary language and login language) See the attached screen shots -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c4 --- Comment #4 from Terje J. Hanssen <terje@nordland-teknikk.no> 2011-02-20 11:08:44 UTC --- Created an attachment (id=415168) --> (http://bugzilla.novell.com/attachment.cgi?id=415168) 'yast2 nfs' in secundary English language -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c5 --- Comment #5 from Terje J. Hanssen <terje@nordland-teknikk.no> 2011-02-20 11:12:28 UTC --- Created an attachment (id=415170) --> (http://bugzilla.novell.com/attachment.cgi?id=415170) YaST2 > Network services > NFS Client from GUI in primary Norwegian Langugage -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c6 --- Comment #6 from Pieter De Decker <pdedecker@gmail.com> 2011-02-20 11:32:46 UTC --- Created an attachment (id=415171) --> (http://bugzilla.novell.com/attachment.cgi?id=415171) YaST's NFS tool as started from the control panel -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c7 --- Comment #7 from Pieter De Decker <pdedecker@gmail.com> 2011-02-20 11:33:18 UTC --- Created an attachment (id=415172) --> (http://bugzilla.novell.com/attachment.cgi?id=415172) YaST's NFS tool, as started from the terminal -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c8 --- Comment #8 from Pieter De Decker <pdedecker@gmail.com> 2011-02-20 11:33:51 UTC --- Let me get this straight... is Norwegian your system-wide default language or the language you use in your GNOME sessions? I set Dutch as my system-wide default, which doesn't give me any problems. (See attached screenshots.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c9 Terje J. Hanssen <terje@nordland-teknikk.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|NORESPONSE | --- Comment #9 from Terje J. Hanssen <terje@nordland-teknikk.no> 2011-02-20 13:58:31 UTC --- During the initial installation I always select Norwegian as my primary language and English as secundary language. Norwegian is also my normal Gnome session login language selected on the panel on the GDM login screen. However, to make bug reports (output, screen shot) generic readable, I use to logging to Gnome with English in such cases. That is, in this case for this specific bug report, Norwegian is both my primary language and Gnome session login language. This is also verified with YaST2 > System > Språk (Language) Are there other places to check for 'System-wide language'? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c10 --- Comment #10 from Terje J. Hanssen <terje@nordland-teknikk.no> 2011-02-20 14:23:59 UTC --- Created an attachment (id=415177) --> (http://bugzilla.novell.com/attachment.cgi?id=415177) /etc/sysconfig/language -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c11 --- Comment #11 from Pieter De Decker <pdedecker@gmail.com> 2011-02-20 16:35:20 UTC --- I did a diff between your /etc/sysconfig/language and my version. === 29c29 < RC_LANG="nb_NO.UTF-8" ---
RC_LANG="nl_NL.UTF-8" 120c120 < INSTALLED_LANGUAGES="en_GB,nb_NO"
INSTALLED_LANGUAGES="nl_NL,en_US" ===
I installed with English as default language and later switched to Dutch on my test install. When I login to GNOME, I use the system-wide language. (I don't think that kdm lets me do otherwise.) Perhaps you could investigate any Qt- or gtk-specific language settings. Also, what do you see when you do this as root? linux-fn29:/home/pdedecker/Downloads # echo $LANG nl_NL.UTF-8 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c12 --- Comment #12 from Terje J. Hanssen <terje@nordland-teknikk.no> 2011-02-20 16:53:34 UTC --- Woops, here is a difference between user and root language in a Gnome terminal: terje@linux-0wgg:~> echo $LANG nb_NO.utf8 terje@linux-0wgg:~> su - Passord: linux-0wgg:~ # echo $LANG POSIX PS: I also use to select Gnome as my default desktop and add KDE4 DE through software pattern during the initial installation. Could you also try to switch to GDM Display Manager which I use. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c13 --- Comment #13 from Terje J. Hanssen <terje@nordland-teknikk.no> 2011-02-20 17:18:49 UTC --- I have located the issue, by booting 11.3 x86_64 Tumbleweed on the same machine. 1) terje@linux-sca0:~> echo $LANG nb_NO.utf8 2) terje@linux-sca0:~> su - Passord: linux-sca0:~ # echo $LANG POSIX linux-sca0:~ # yast2 nfs linux-sca0:~ # logout 3) terje@linux-sca0:~> su Passord: linux-sca0:/home/terje # echo $LANG nb_NO.utf8 linux-sca0:/home/terje # yast2 nfs As seen, 11.3 (as 11.4 did) in section 2) swiching to root with 'su -' also output 'POSIX' and English on the menus when lauching 'nfs' Normally I switch to root with 'su' only as in section 3). This output correct language 'nb_NO.utf8' and Norwegian text on menus when launching 'nfs'. I could't use this 'su' method in 11.4, due to the GLIB bug as shown in the previous attachment. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c14 --- Comment #14 from Pieter De Decker <pdedecker@gmail.com> 2011-02-20 17:36:46 UTC --- You're right... if I do 'su -', I also get the English version no matter what my system-wide locale is. Since the shell is then created as a login shell, /etc/profile is sourced, which might explain the odd behavior. http://www.linuxquestions.org/questions/linux-general-1/difference-between-n... Can we consider it a bug if this behavior only occurs in special login shells? You could argue that this behavior is desirable. I don't know the glib bug you're referencing, but I'm not having any trouble doing "yast2 language" after "su". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c15 --- Comment #15 from Terje J. Hanssen <terje@nordland-teknikk.no> 2011-02-20 18:37:05 UTC --- (In reply to comment #14)
I don't know the glib bug you're referencing, but I'm not having any trouble doing "yast2 language" after "su".
https://bugzilla.novell.com/show_bug.cgi?id=672793 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c16 Rainer Hurtado Navarro <publio.escipion.el.africano@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |publio.escipion.el.africano | |@gmail.com Version|Milestone 5 of 6 |RC 1 Resolution| |FIXED --- Comment #16 from Rainer Hurtado Navarro <publio.escipion.el.africano@gmail.com> 2011-02-20 19:22:11 UTC --- This is fixed in 11.4 RC1. My user locale is es_ES, and YaST2 modules are loaded from my user session (as root) in Spanish, accordingly. "This has been fixed in 11.4-RC1." "(changed during the 2011-02-20 Open-Bugs-Day about bugs for obsolete versions of openSUSE)" dom feb 20 19:19:59 UTC 2011 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c17 --- Comment #17 from Pieter De Decker <pdedecker@gmail.com> 2011-02-20 19:30:24 UTC --- @Rainer: did you launch YaST in a GNOME terminal by doing "su -" (NOT "su") and then "yast2 nfs"? Terje and I have both confirmed that this issue persists in 11.4 RC1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c18 Rainer Hurtado Navarro <publio.escipion.el.africano@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #18 from Rainer Hurtado Navarro <publio.escipion.el.africano@gmail.com> 2011-02-20 21:02:19 UTC --- I am deeply sorry. I really regret it. Terje is right. 1. I am dealing with two computers: Gateway mx2009m and HP Pavillion TX. One with Gnome (my wife's), another with KDE (mine). It is not an excuse. 2. When I got your message, I tried to realize If I could be mistaked by KDE, under which session the issue is not present, or I indeed tested this issue under Gnome. 3. Then I noticed that I did "su", not "su -". 4. With the first one, my user locales es_ES are taken, but with "su -" are not. 5. So, I take it (and also, me) back. I am very sorry. I now realize that your job and care are very very hard and puzzling, and it is the best experience (and teaching) I have had today. Sorry, I repeat. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c19 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-beta@cboltz.de --- Comment #19 from Christian Boltz <suse-beta@cboltz.de> 2011-02-20 22:31:11 CET --- What do you have in /etc/sysconfig/language in the ROOT_USES_LANG setting? Setting it to "yes" should give you your usual language even with su -. (And please don't ask me if the default value "ctype" is sane or not - that's something to discuss with the maintainers and/or the security team.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c20 Rainer Hurtado Navarro <publio.escipion.el.africano@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #20 from Rainer Hurtado Navarro <publio.escipion.el.africano@gmail.com> 2011-02-20 22:34:45 UTC --- Originally, I have ROOT_USES_LANG="ctype" I changed as requested for: ROOT_USES_LANG="yes" __________ Then: su - Then my user locales (es_ES) are taken to run YaST2 and its modules, which previously ran in en_US: yast2 yast2 sw_single yast2 nfs yast2 printer ___________________ I hope this time it be for sure: "This has been fixed in 11.4-RC1." "(changed during the 2011-02-20 Open-Bugs-Day about bugs for obsolete versions of openSUSE)" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c21 Terje J. Hanssen <terje@nordland-teknikk.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #21 from Terje J. Hanssen <terje@nordland-teknikk.no> 2011-02-20 22:37:22 UTC --- /etc/sysconfig/language ROOT_USES_LANG="ctype" as shown in Comment #10 above https://bugzilla.novell.com/show_bug.cgi?id=664797#c10 Changing "ctype" to "yes" works for me using 'su -'. Thanks for that :) However, is it only me that encounter the GLIB error that prohibit me to use the the normal 'su' only ? https://bugzilla.novell.com/show_bug.cgi?id=672793 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c22 --- Comment #22 from Rainer Hurtado Navarro <publio.escipion.el.africano@gmail.com> 2011-02-20 22:39:58 UTC --- Created an attachment (id=415193) --> (http://bugzilla.novell.com/attachment.cgi?id=415193) screenshot of modules running and /etc/sysconfig/language changed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c23 --- Comment #23 from Rainer Hurtado Navarro <publio.escipion.el.africano@gmail.com> 2011-02-20 22:41:54 UTC --- normal "su" without "-" takes the user locale (at least mine, es_ES). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=664797 https://bugzilla.novell.com/show_bug.cgi?id=664797#c24 Rainer Hurtado Navarro <publio.escipion.el.africano@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WORKSFORME --- Comment #24 from Rainer Hurtado Navarro <publio.escipion.el.africano@gmail.com> 2011-02-20 22:50:03 UTC --- In deed this issue exists, but there is already a workaround, so, it should be closed as "worksforme", I think. And it will be a pop/push otherwise. Don't you think? I know that next time all will be perfect. "This has been fixed in 11.4-RC1." "(changed during the 2011-02-20 Open-Bugs-Day about bugs for obsolete versions of openSUSE)" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com