How to set a language's default locale
Charlotte
altronic25 at protonmail.com
Sun Apr 12 19:38:31 BST 2026
Hi there,
Thanks, I've gone ahead and added a bug report for this. You can find it here: https://bugs.kde.org/show_bug.cgi?id=518878
To clarify, System Settings is adding the ".UTF-8" part of the locale in the incorrect place, so that rather than becoming "ga_IE.UTF-8" or "ga_IE at euro.UTF-8", it becomes "ga_IE.UTF-8 at euro", which is not a locale. Modifying the plasma-localerc file to remove the "@euro" component will allow the system to work correctly.
Thanks,
Charlotte
On Sunday, 12 April 2026 at 10:38, Albert Astals Cid <aacid at kde.org> wrote:
> El diumenge, 12 d’abril del 2026, a les 0:04:14 (Hora d’estiu d’Europa
> 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.
>
> ~/.config/plasma-localerc is set by the Region and Language module of system
> settings.
>
> 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).
>
> I will try to have a look at the code and fix it but you may want to report a
> bug report.
>
> >
> > 1. Are you sure "Gaeilge" is correct,
> > https://l10n.kde.org/stats/gui/stable-kf6/team/ga/ says "Irish Gaelic (ga)".
>
> Gaeilge is "Irish" in "Irish"
>
> Cheers,
> Alber
>
> >
> > 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
> > => here I could see both ga_IE and ga_IE at 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=ga gwenview
> > LANGUAGE=ga_IE gwenview
> > LANGUAGE=ga_IE at euro gwenview
> >
> > Or for flatpak versions of apps:
> >
> > flatpak config --set extra-languages ga
> > flatpak config --list
> > flatpak update
> > LANGUAGE=ga flatpak run org.kde.kate
> > LANGUAGE=ga_IE flatpak run org.kde.kate
> > LANGUAGE=ga_IE at euro flatpak run org.kde.kate
> >
> > → In all variants I could see strings in your language and no errors.
> > Which errors do you have (locale related)?
> >
> > By the way: If you want to test newest translation which is not yet part
> > 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
>
>
>
>
>
More information about the kde-i18n-doc
mailing list