[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#636812: debian-installer: wrong keyboard layout for Serbian language



On Sat, Aug 6, 2011 at 09:06, Christian PERRIER <bubulle@debian.org> wrote:
> This is indeed because the current combination of console-data being
> used in D-I and console-setup in the installed system. The former
> being the providing "old-style" console-only keyboard maps (those used
> at the Linux console back in the 90's) while the
> latter provides X keymaps that work with the console too.
>
> ATM, the console-data udeb only has a "Serbian (Cyrillic)" keymap in
> the list of keymaps it provides:
>
> cperrier@mykerinos:~/src/debian/console-data/svn/trunk/debian/udeb$ grep ^sr console-keymaps-at
> sr      sr-cy   Serbian
> sr@latin        croat   Serbian (Latin)
>
> (if people choose "Serbian (Latin)", then the "croat" keymap would be
> proposed as default)
>

The "croat" keymap is actually the same as "sr" (if "sr" provides
latin), see [1]. I putted "croat" in localization for sr@latin,
because I didn't know that there is a Serbian latin option (because in
Serbia we still use YU label for that keymap). If thats the case, then
please change "croat" to "sr", and sorry for the trouble.

> On the other hand, console-setup, when installed, chooses keymaps
> settings depending on the locale:
>
>    sr_*)
>        XKBLAYOUT=cs,cs  # Serbia and Montenegro
>        XKBVARIANT=latin,basic
>        layout_priority=critical
>        ;;
>
>
> So, that explains what you're seeing. The choose variant, here, is
> clearly the "latin" one.
>
> "some day", we'll switch to console-setup even in the installer, but
> for various reasons (localization being one of them), it hasn't
> happened.
>
> So, we still have to do with this dual keymap handling: one in D-I and
> the other in the installed system.
>
> What we can do is replacing the current sr-cy keymap in console-data
> udeb by "sr". It means that only "Serbian" will be offerred, which is,
> I guess, the "Serbian (Latin)" layout.
>
> If you confirm that there is no such thing as a "Serbian (cyrillic)"
> physical keyboard (and, therefore, that having the "Serbian (Latin)"
> keymap is fine even when one chooses "Serbian (cyrillic)" as
> language), I think this is the most appropriate solution.

I've never seen that there are keyboards with cyrillic layout selling
in Serbia. I couldn't find it on the internet neither, only the
software version. So, replacing the current "sr-cy" keymap in
console-data udeb by "sr" seems like a good idea, at least until we
switch to console-setup. For more information checkout [1].


[1] http://en.wikipedia.org/wiki/Keyboard_layout#Bosnian.2C_Croatian.2C_Serbian_Latin_and_Slovene



Reply to: