Red Hat Bugzilla – Bug 235709
Update support for Serbian locale during installation
Last modified: 2007-11-30 17:12:01 EST
+++ This bug was initially created as a clone of Bug #175611 +++
Please update the support for Serbian during installation. The ISO country code
has changed and we now have two new locales in glibc:
sr_RS.UTF-8 (default, cyrillic script)
sr_RS.UTF-8@latin (Latin script variant)
The latest xkb codes for sr_RS are "cs" and "cs latin" for sr_RS@latin.
This is still the case in F7 final and Serbian users are forced to edit
/etc/sysconfig/i18n after installation manually.
requested by Jams Antill
Problem still exist in F8 Test 1.
Created attachment 161153 [details]
changes the ISO code
Martin, thanks for picking this up.
I think just "sr" and "sr@latin" should suffice in the second column rather than
the full locale including the country code.
Also, what does "sr-cy" in the fifth column refer to? ("cy" I guess denotes
something Cyrillic, so it's a bit puzzling it appears for the Latin locale as
The fifth column is console keyboard layout. I have no way to check that (I do
not understand cyrillic nor I have serbian keyboard), but it is in the original
table too, can you tell me if it works in F7 in the right way?
The short language code is now unused anyway, but I will change that.
That's right, the fifth column is the console keyboard map. It needs to be set
to something that's in /lib/kbd/keymaps/i386/qwerty/, which we pull into our
keymaps-<arch> files in anaconda. The only Serbian console layout I see in
there is sr-cy, so that's what we'll have to keep for both.
Martin - you'll also want to make sure the correct X keyboard maps are listed in
src/keyboard_models.py in the rhpl package. The source for that is in the same
place as anaconda.
Thanks for clearing that up - console seems to be working fine and haven't heard
complaints from local users, so leaving the only option "sr-cy" for both seems
the best practise atm.
So the last thing outstanding are the "cs" and "cs latin" layouts for X keymaps,
as Chris points out. (Although strictly speaking these should have split into
separate ones for Serbia and Montenegro as well by now, but things haven't been
moving all that fast upstream.)
Also, together with this change, please also move po/sr@Latn.po to
firstname.lastname@example.org and update ALL_LINGUAS in configure or the Makefile if necessary.
Created attachment 174981 [details]
Change ISO codes and keyboard for Serbian locale
Add sr-latin alias for sr-cy (already in kbd) so we can use it in rhpl for X
Created attachment 175021 [details]
Change ISO and kb layouts
Hups, wrong patch... now the correct one
Will show up in the next build