RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 619267 - Cannot set default language to Serbian
Summary: Cannot set default language to Serbian
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: system-config-language
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Pravin Satpute
QA Contact: QE Internationalization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-29 06:17 UTC by Kenichi Takemura
Modified: 2014-08-04 22:02 UTC (History)
4 users (show)

Fixed In Version: system-config-language-1.3.4-4.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-04 00:32:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kenichi Takemura 2010-07-29 06:17:04 UTC
Description of problem:

Cannot set default language to Serbian
This is due to the error:

This system is not registered with RHN.
RHN support will be disabled.
Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 175, in okClicked
    self.apply()
  File "/usr/share/system-config-language/language_gui.py", line 241, in apply
    grpid = lang_dict.get_groupID_from_language(defaultLang)
  File "/usr/share/system-config-language/lang_dict.py", line 167, in get_groupID_from_language
    return languages_Dict[language]
KeyError: 'sr_RS.UTF-8'


Version-Release number of selected component (if applicable):
$ rpm -q system-config-language
system-config-language-1.3.4-2.el6.noarch


How reproducible:
100%

Steps to Reproduce:
1. run system-config-language
2. Set Serbian as default language and click ok
3.
  
Actual results:
system-config-language does not set the language as default(error)

Expected results:

Serbian people are happy.

Additional info:

Comment 1 Kenichi Takemura 2010-07-29 06:18:25 UTC
Serbian(Latin) fails as well.

Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 175, in okClicked
    self.apply()
  File "/usr/share/system-config-language/language_gui.py", line 241, in apply
    grpid = lang_dict.get_groupID_from_language(defaultLang)
  File "/usr/share/system-config-language/lang_dict.py", line 167, in get_groupID_from_language
    return languages_Dict[language]
KeyError: 'sr_RS.UTF-8@latin'

Comment 3 RHEL Program Management 2010-07-29 06:47:40 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 4 Pravin Satpute 2010-07-29 08:12:20 UTC
(In reply to comment #1)
> Serbian(Latin) fails as well.
> 
> Loaded plugins: refresh-packagekit, rhnplugin
> This system is not registered with RHN.
> RHN support will be disabled.
 
can you do?

$yum group-install serbian-support

if not please enable your RHN support and try same

Comment 5 Pravin Satpute 2010-07-29 10:25:18 UTC
please ignore "> if not please enable your RHN support and try same" in above reply ;)

Comment 6 Jens Petersen 2010-08-03 05:33:45 UTC
I see it here too.  My desktop if ja FWIW.

Comment 7 Kenichi Takemura 2010-08-03 05:52:39 UTC
(In reply to comment #4)
> 
> can you do?
> 
> $yum group-install serbian-support

Sorry for the delayed answer.
Yes I can.

$ sudo yum groupinstall 'serbian-support'
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Group Process
Resolving Dependencies
--> Running transaction check
---> Package hunspell-sr.noarch 0:0.20090511-2.1.el6 set to be updated
---> Package kde-l10n-Serbian.noarch 0:4.3.4-5.el6 set to be updated
--> Processing Dependency: kde-l10n = 4.3.4-5.el6 for package:
kde-l10n-Serbian-4.3.4-5.el6.noarch
---> Package openoffice.org-langpack-sr.x86_64 1:3.2.1-19.5.el6 set to be
updated
--> Processing Dependency: hyphen-sr for package:
1:openoffice.org-langpack-sr-3.2.1-19.5.el6.x86_64
--> Running transaction check
---> Package hyphen-sr.noarch 0:0.20090511-2.1.el6 set to be updated
---> Package kde-l10n.noarch 0:4.3.4-5.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================
 Package                            Arch           Version                     
Repository         Size
========================================================================================================
Installing:
 hunspell-sr                        noarch         0.20090511-2.1.el6          
rhel-beta         1.0 M
 kde-l10n-Serbian                   noarch         4.3.4-5.el6                 
rhel-beta         4.4 M
 openoffice.org-langpack-sr         x86_64         1:3.2.1-19.5.el6            
rhel-beta          18 M
Installing for dependencies:
 hyphen-sr                          noarch         0.20090511-2.1.el6          
rhel-beta          15 k
 kde-l10n                           noarch         4.3.4-5.el6                 
rhel-beta          13 k

Transaction Summary
========================================================================================================
Install       5 Package(s)
Upgrade       0 Package(s)

Total download size: 24 M
Installed size: 65 M
Is this ok [y/N]:  y
Downloading Packages:
(1/5): hunspell-sr-0.20090511-2.1.el6.noarch.rpm                               
 | 1.0 MB     00:09     
(2/5): hyphen-sr-0.20090511-2.1.el6.noarch.rpm                                 
 |  15 kB     00:00     
(3/5): kde-l10n-4.3.4-5.el6.noarch.rpm                                         
 |  13 kB     00:01     
(4/5): kde-l10n-Serbian-4.3.4-5.el6.noarch.rpm                                 
 | 4.4 MB     00:33     
(5/5): openoffice.org-langpack-sr-3.2.1-19.5.el6.x86_64.rpm                    
 |  18 MB     02:10     
--------------------------------------------------------------------------------------------------------
Total                                                                   135
kB/s |  24 MB     02:59     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : hunspell-sr-0.20090511-2.1.el6.noarch                       
                    1/5 
  Installing     : kde-l10n-4.3.4-5.el6.noarch                                 
                    2/5 
  Installing     : hyphen-sr-0.20090511-2.1.el6.noarch                         
                    3/5 
  Installing     : 1:openoffice.org-langpack-sr-3.2.1-19.5.el6.x86_64          
                    4/5 
  Installing     : kde-l10n-Serbian-4.3.4-5.el6.noarch                         
                    5/5 

Installed:
  hunspell-sr.noarch 0:0.20090511-2.1.el6                  
kde-l10n-Serbian.noarch 0:4.3.4-5.el6       
  openoffice.org-langpack-sr.x86_64 1:3.2.1-19.5.el6       

Dependency Installed:
  hyphen-sr.noarch 0:0.20090511-2.1.el6                  kde-l10n.noarch
0:4.3.4-5.el6                 

Complete!

Comment 9 Pravin Satpute 2010-08-03 11:30:43 UTC
thanks, i have a fix for this

Comment 10 Pravin Satpute 2010-08-04 15:28:19 UTC
build done!!
fixed in system-config-language-1.3.4-4.el6

Comment 12 Kenichi Takemura 2010-08-09 00:23:23 UTC
Verification failed.

system-config-language does not show the current language properly after selecting Serbian(Latin)

How to produce
1. run system-config-language
2. Select Serbian(Latin) and click 'OK'
3. run system-config-language

At step3, system-config-language shows the current language 'Serbian' not 'Serbian(Latin)'

Comment 13 Pravin Satpute 2010-08-09 09:22:00 UTC
Hi Kenichi,

locale is set properly in /etc/sysconfig/i18n

see $cat /etc/sysconfig/i18n


yes, s-c-l is not able to load default language, in its next view
localename@script is not handled properly in s-c-l, so this is another problem

IMHO you can verify this bug, as language is set properly

Comment 14 A S Alam 2010-08-09 09:44:40 UTC
status - FIXED
tested Package: system-config-language-1.3.4-4.el6.noarch


Detail:

--
with running system-config-language, 
language set is "Serbian(Latin"

[aalam@localhost ~]$ cat /etc/sysconfig/i18n 
LANG="sr_RS.UTF-8@latin"
---

Opening New bug for above problem, as this is not linked to reported bug.


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