Bug 235709 - Update support for Serbian locale during installation
Update support for Serbian locale during installation
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Martin Sivák
:
Depends On: 253957 259101 259121
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-09 15:01 EDT by Miloš Komarčević
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-09-21 03:17:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
changes the ISO code (849 bytes, patch)
2007-08-13 01:52 EDT, Martin Sivák
no flags Details | Diff
Change ISO codes and keyboard for Serbian locale (1.11 KB, patch)
2007-08-28 02:28 EDT, Martin Sivák
no flags Details | Diff
Change ISO and kb layouts (846 bytes, patch)
2007-08-28 02:40 EDT, Martin Sivák
no flags Details | Diff

  None (edit)
Description Miloš Komarčević 2007-04-09 15:01:36 EDT
+++ 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.
Comment 1 Miloš Komarčević 2007-06-09 10:05:05 EDT
This is still the case in F7 final and Serbian users are forced to edit
/etc/sysconfig/i18n after installation manually.
Comment 2 Red Hat Bugzilla 2007-06-11 23:46:45 EDT
requested by Jams Antill
Comment 3 Igor Miletic 2007-08-09 13:22:36 EDT
Problem still exist in F8 Test 1. 
Comment 4 Martin Sivák 2007-08-13 01:52:08 EDT
Created attachment 161153 [details]
changes the ISO code
Comment 5 Miloš Komarčević 2007-08-13 08:05:22 EDT
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
well...)
Comment 6 Martin Sivák 2007-08-13 10:41:00 EDT
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.
Comment 7 Chris Lumens 2007-08-14 10:17:04 EDT
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.
Comment 8 Miloš Komarčević 2007-08-14 19:53:07 EDT
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.)
Comment 9 Miloš Komarčević 2007-08-16 16:36:38 EDT
Also, together with this change, please also move po/sr@Latn.po to
po/sr@latin.po and update ALL_LINGUAS in configure or the Makefile if necessary.
Comment 11 Martin Sivák 2007-08-28 02:28:56 EDT
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
keyboard mapping
Comment 12 Martin Sivák 2007-08-28 02:40:20 EDT
Created attachment 175021 [details]
Change ISO and kb layouts

Hups, wrong patch... now the correct one
Comment 13 Martin Sivák 2007-09-21 03:17:17 EDT
Will show up in the next build

Note You need to log in before you can comment on or make changes to this bug.