Add xkb-data (xkb-data-i18n) as a depends for kubuntu-desktop
Open, Needs TriagePublic

Description

To prevent keyboard layout breakage for non-English keyboards, xkb-data or xkb-data-i18n is needed for plasma. Rik posed the question if this should be a direct depends or a meta data depends of kubuntu-desktop.

Bug report

Detailed e-mail of the issue:

Martin Gräßlin <mgraesslin@kde.org>
Jan 22 (6 days ago)

to distributions
Hi distributions,

I noticed today that on some distributions the translations of the source package xkeyboard-config [1] are not installed by default. The translations are essential for the keyboard layout configuration. Without it all layouts are only provided in English which means a non-English speaking user is probably unable to configure the keyboard.

To illustrate the issue:
https://share.kde.org/index.php/s/qkymmfh5ljKFP9E
vs
https://share.kde.org/index.php/s/L7Jr0Y5eWDlR81w

In both screenshots the KCM is loaded for German translations. In the one the xkeyboard-config translations are missing and all layouts are English. In the other case the xkeyboard-config translations are present and all layouts are properly localized (except for the typo in "Englisch").

I kindly request that you check whether your distribution installs the translations and if not to fix this. I assume that this is not only relevant for Plasma, but for all desktop environments providing keyboard layout configuration based on xkeyboard-config.

To give you the information I have. On Debian based distributions the package in question is called:
xkb-data

The relevant translation files are installed to:
/usr/share/locale/*/LC_MESSAGES/xkeyboard-config.mo

On e.g. Ubuntu and derivatives (the distro on which I noticed the problem) the translations are provided by xkb-data-i18n and not installed by default.

Best Regards
Martin Gräßlin

darinmiller updated the task description. (Show Details)
clivej added a subscriber: clivej.Jan 28 2017, 8:01 PM

Opened https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/1660072 on Launchpad as I think this is an issue with the source package (xkeyboard-config) and xkb-data not depending on xkb-data-i18n

clivej added a comment.EditedJan 28 2017, 8:46 PM

On 2017-01-28 20:54, Clive Johnston wrote:
xkb-data-i18n is needed to provide translations for the xkb-data
package, however, it doesn't seem to be installed by anything.
Shouldn't xkb-data have a depends or recommends on xkb-data-i18n in
order for it to be installed as well?

The translations are available in the Ubuntu language packs, so I don't think that's necessary.

The xkb-data-i18n package is an Ubuntu specific thing, and it's motivated in the changelog like this:

"Split out xkb-data-i18n to be used by console-setup."

I'm not sure what that means, but I assume that it refers to a context where the language packs are not available.

HTH

clivej removed a subscriber: clivej.Mar 18 2018, 11:15 PM