Bug 115919

Summary: YaST modules displayed in English after changing the primary language
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Ines Pozo <ip>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED INVALID QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None CC: ke
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs
/etc/sysconfig/language

Description Ines Pozo 2005-09-08 17:05:31 UTC
In an installed German system, I started YaST in Spanish with LANG=es_ES yast2 
and sucessfully tested all modules translated into Spanish. Then I selected 
'System' -> 'Language' and set German as primary language. After testing the 
German YaST some more, I closed YaST and restarted it in Spanish again with 
LANG... Now the main menu is still in Spanish but everytime I start a module, 
all dialogs are displayed in English. Is this a bug?
Comment 1 Michael Gross 2005-09-09 09:07:55 UTC
Sounds like one, will assign it to the yast2-country-maintainer. All submodules
are not reading the set language correctly, so I think it was not set correctly
in the first place.
Comment 2 Jiří Suchomel 2005-09-09 09:31:47 UTC
1. Please attach y2logs:

http://www.opensuse.org/Bug_Reporting_FAQ#YaST

2. When selecting german as primary language, did you leave spanish as
secondary? If not, spanish packages would get uninstalled. Please attach the
output of "rpm -qa | grep yast2-trans"
Comment 3 Jiří Suchomel 2005-09-09 09:32:46 UTC
And while you are in the attaching process :-), add also /etc/sysconfig/language.
Comment 4 Ines Pozo 2005-09-09 11:19:53 UTC
Created attachment 49360 [details]
y2logs
Comment 5 Ines Pozo 2005-09-09 11:21:42 UTC
Created attachment 49361 [details]
/etc/sysconfig/language
Comment 6 Ines Pozo 2005-09-09 11:23:39 UTC
The output of rpm -qa | grep yast2-trans: 
yast2-transfer-2.12.0-2 
yast2-trans-es-2.12.3-2 
yast2-trans-en_US-2.12.1-2 
yast2-trans-stats-2.11.0-7 
yast2-trans-de-2.12.9-2 
 
I didn't set any language as secondary language. Today I set the primary 
language to "Spanish" and I was able to start all modules in Spanish again. 
Comment 7 Jiří Suchomel 2005-09-09 11:26:50 UTC
So from which state come the rpm output and /etc/sysconfig/language? Before
setting spanish as primary again or after it?
Comment 8 Ines Pozo 2005-09-09 11:29:54 UTC
This is the state from 1 minute ago; i.e. after setting Spanish as primary 
language. 
Comment 9 Jiří Suchomel 2005-09-09 11:40:07 UTC
So they are useless for the check of the reported behaviour:-)

But never mind - I can see it from the log. When you changed primary language to
german, your spanish packages were uninstalled - if you want to have more
language-dependent packages on your system, you have to leave the other
languages as secondary.