Bug 1136000

Summary: error with german language support inl zypper (Leap 15.1)
Product: [openSUSE] openSUSE Distribution Reporter: Sven Schmetzer <Sven-Schmetzer>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None CC: Sven-Schmetzer
Version: Leap 15.1   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Sven Schmetzer 2019-05-22 21:57:16 UTC
I installed the newly released Leap 15.1. During the installation I set German as my language but after the installation zypper does not use the right language. It's still englisch and asks for yes or y to confirm somthing instead of Ja or j. I checked the setting, Yast2 ist set to german and it's menue uses the right language.
Comment 1 Ludwig Nussel 2019-05-23 07:54:44 UTC
zypper needs to run as root. Depending on how you do that the locale is different. If you open a login shell as root ROOT_USES_LANG=yes must be set in /etc/sysconfig/language, otherwise root stays in English. When calling zypper via sudo it uses the locale of the calling user.