Re: How to set a language's default locale
Charlotte <[email protected]> Sun, 12 Apr 2026 18:38:31 +0000
| Newsgroups | gmane.comp.kde.devel.internationalization-and-documentation |
|---|---|
| Message-ID | <EiShgD0l5Cpj4Vavzvls09b7CFSeOH37L6RUQuMrG64ah5ngIh25XQ7PhmoeRgNIzBhvLzmAhLdyJbfdExR9M0T7AmuVl1un9CxqITYmDmY=@protonmail.com> |
Hi there, Thanks, I've gone ahead and added a bug report for this. You can find it he= re: https://bugs.kde.org/show_bug.cgi?id=3D518878 To clarify, System Settings is adding the ".UTF-8" part of the locale in th= e incorrect place, so that rather than becoming "ga_IE.UTF-8" or "ga_IE@eur= o.UTF-8", it becomes "ga_IE.UTF-8@euro", which is not a locale. Modifying t= he plasma-localerc file to remove the "@euro" component will allow the syst= em to work correctly. Thanks, Charlotte On Sunday, 12 April 2026 at 10:38, Albert Astals Cid <[email protected]> wrote: > El diumenge, 12 d=E2=80=99abril del 2026, a les 0:04:14 (Hora d=E2=80= =99estiu d=E2=80=99Europa > central), Alexander Becker va escriure: > > Good evening, Charlotte! > > > > > Currently, when trying to load the language "Gaeilge" (ga), KDE is > > > > trying to use the "ga_IE.UTF-8 at euro" locale by default in > > `~/.config/plasma-localerc`, which doesn't exist in glibc. >=20 > ~/.config/plasma-localerc is set by the Region and Language module of sys= tem > settings. >=20 > There seems to be quite some bugs in that module sadly and it is setting = the > wrong locale (i just tested it and it set the wrong locale for me). >=20 > I will try to have a look at the code and fix it but you may want to repo= rt a > bug report. >=20 > > > > 1. Are you sure "Gaeilge" is correct, > > https://l10n.kde.org/stats/gui/stable-kf6/team/ga/ says "Irish Gaelic (= ga)". >=20 > Gaeilge is "Irish" in "Irish" >=20 > Cheers, > Alber >=20 > > > > 2. Why do you think your locale is not supported by glibc? > > git clone https://sourceware.org/git/glibc.git > > cd glibc > > git log | grep ga_IE > > =3D> here I could see both ga_IE and ga_IE@euro locales > > > > > which doesn't exist in glibc. Due to this, a lot of programs don't > > > > work or produce errors when trying to run a system in the language. > > > > 3. I have tried locally in konsole: > > > > LANGUAGE=3Dga gwenview > > LANGUAGE=3Dga_IE gwenview > > LANGUAGE=3Dga_IE@euro gwenview > > > > Or for flatpak versions of apps: > > > > flatpak config --set extra-languages ga > > flatpak config --list > > flatpak update > > LANGUAGE=3Dga flatpak run org.kde.kate > > LANGUAGE=3Dga_IE flatpak run org.kde.kate > > LANGUAGE=3Dga_IE@euro flatpak run org.kde.kate > > > > =E2=86=92 In all variants I could see strings in your language and n= o errors. > > Which errors do you have (locale related)? > > > > By the way: If you want to test newest translation which is not yet par= t > > of an application (e. g. Dolphin) you could do following: > > > > msgfmt dolphin.po -o dolphin.mo > > mkdir -p ~/.local/share/locale/ga/LC_MESSAGES > > cp dolphin.mo ~/.local/share/locale/ga/LC_MESSAGES > > # start Dolphin and check new translated strings > > > > I hope it will help you and your team. > > > > Best regards > > Alexander >=20 >=20 >=20 >=20 >