Hi all
I am not sure if this the right place for this. So if in the wrong place, kindly move to the right place:
We got Leap 15.0 laptops throughout our family, using plasma. My sons machine is dead now, so I tried to set an old lenovo T500 up as a substitute from scratch. It was on Leap 42.3, where locale was set to de_CH throught YaST2. After installing Leap 15.0, I tried to set de_CH in YaST2/language, but it says it cannot find it, as /usr/share/YaST2/data/languages/language_de_DE.ycp is missing. In fact:
/usr/share/YaST2/data/languages # ls | grep -i DE
language_de_DE.ycp
However:
locale -a | grep -i DE
de_AT
de_AT@euro
de_AT.utf8
de_BE
de_BE@euro
de_BE.utf8
de_CH
de_CH.utf8
de_DE
de_DE@euro
de_DE.utf8
de_IT
de_IT.utf8
de_LI.utf8
de_LU
de_LU@euro
de_LU.utf8
fy_DE
gez_ER@abegede
gez_ET@abegede
hsb_DE
hsb_DE.utf8
ks_IN@devanagari
nds_DE
sd_IN@devanagari
1] So, my conclusion basically YaST2 lists ***de_CH.utf8 ***but as the file “language_de_CH.ycp”, it cannot set the locale correctly. Am I right?
2] If, where are all these “language_de_XX.ycp” gone?
Suggested workaround:
cp language_de_DE.ycp language_de_CH.ycp
Change the following in language_de_CH.ycp:
{
textdomain “languages_db”;
return $ // 1. information for language selection: // Format is // <LANG-Code> : // <Language-to-display-UTF8-coded>, // <Language-to-display-ASCII-coded-if-needed>, // <LANG modifier used when UTF-8 enconding is selected> // <LANG modifier used when no UTF-8 enconding is selected> // <translated Language-to-display-UTF8-coded> ] // "*de_CH*" : "Deutsch", "Deutsch", ".UTF-8", "@euro", // language name _("German") ], // 2. what time zone propose for this language "timezone" : "*Europe/Zurich*", // 3. which keyboard layout propose for this language "keyboard" : "*german-ch*", ];
}
After this, I could set de_CH in YaST2. However, in KDE Systemsettings, Swiss German is not directly selectable. I can select German and then set Region to Switzerland. If I logout/in and open a system terminal, all the menus are still in English.
3] Is there more to it?
4] If, what?
Any help greatly appreciated
Greez
chris