Hi, On 2020-10-30 22:00, Holger Wansing wrote: > Package: glibc > Severity: normal > X-Debbugs-CC: Slimane Selyan Amiri <selyan....@gmail.com> > X-Debbugs-CC: debian-b...@lists.debian.org > > > Hi, > > we are currently in the process of adding Kabyle as a new language to our > debian-installer. > > The locale settings for the Kabyle language are supposed to be > language: Kabyle - kab > country: Algeria - DZ > -> kab_DZ > > I have added Kabyle to the localechooser package, and it correctly shows up as > a language in the "Choose language" dialog.
I confirm that the kab_DZ is available in glibc, it has been added in version 2.27. You can also check that the date is properly displayed on a running Debian system. $ LC_ALL=kab_DZ date Sed 31 Tub 2020 17:36:48 CET > But I have a problem now in the text-based installer: > (in graphical installer everything is ok!) > While displaying the installer dialogs in Kabyle is fine, it fails to switch > the keyboard to the desired "Berber (Latin)" layout. Keyboard layout is not something handled by the glibc locales. > I also noticed that the installer states to use "kab_DZ" as locale, while > in the other languages there is an UTF-8 locale (like "de_DE.UTF-8" for > German). > Maybe that's the reason for the installer failing to switch keyboard > correctly ... ? This is correct, because the kab_DZ locale is only available as UTF-8. de_DE.UTF-8 exists because the default de_DE locale is ISO-8859-1 encoded. The same way there is also a de_DE@euro locale defaulting to ISO-8859-15. > When diagnosing the list of supported locales, I see that in locales package > the situation is the same: > > ned@t520:~$ grep kab /usr/share/i18n/SUPPORTED > kab_DZ UTF-8 > ned@t520:~$ > > Only "kab_DZ" shows up in /usr/share/i18n/SUPPORTED, instead of > "kab_DZ.UTF-8/UTF-8" like for many other languages. This is perfectly normal. There are many other locales without UTF-8 in their name, see for example fy_DE or en_NG. > Please accept my appologies, if I got something wrong here, but for me it > seems there is something wrong/missing... ? > Shouldn't UTF-8 be the default for years already? > (Hmm, not for all languages/locales maybe ... ?) Yes, that's exactly because UTF-8 is the default for years already that the Kabylian locale is only available as kab_DZ. Regards, Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net