See https://api.kde.org/frameworks/kconfigwidgets/html/klanguagename_8cpp_source.html#l00040
for source reference.
Reported-by: Andrius Štikonas <andrius@stikonas.eu>
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
fi
# enable only the requested translations when required
- if [[ -v LINGUAS ]] ; then
+ # always install unconditionally for kconfigwidgets - if you use language
+ # X as system language, and there is a combobox with language names, the
+ # translated language name for language Y is taken from /usr/share/locale/Y/kf5_entry.desktop
+ if [[ -v LINGUAS && ${PN} != kconfigwidgets ]] ; then
local po
for po in ${KDE_PO_DIRS}; do
if [[ -d ${po} ]] ; then