Bug 502984

Summary: selecting Kashmiri (India) (2nd from top list) from Language list don't work, 'Locale not Supported' Error
Product: [Fedora] Fedora Reporter: A S Alam <aalam>
Component: gdmAssignee: jmccann
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: cschalle, i18n-bugs, jakub, jmccann, mshao, pnemade, psatpute, rstrode
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-28 06:46:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description A S Alam 2009-05-28 05:54:03 UTC
Description of problem:
 after login by selecting Kashmiri (India) [2nd from list, not first], giving the Error while run any application, even locale command give error.

Version-Release number of selected component (if applicable):
glibc-2.10.1-2

How reproducible:
100%

Steps to Reproduce:
1. at GDM, select Language Kashmiri (India) (2nd Language out of Two Kashmiri (India))
2. Login
3. open gnome -terminal and type 'locale'
4. run gedit from Terminal
  
Actual results:
Error as following:
----------
After step 3

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or direct

After step 4
Gtk-Warning **: Locale is not supported  by C library.

--------

Expected results:

Should  be error free and environment should be proper 'ks'

Additional info:

Comment 1 A S Alam 2009-05-28 05:56:19 UTC
$echo $LANG
ks_IN.devanagari

$locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=ks_IN.devanagari
LC_CTYPE="ks_IN.devanagari"
LC_NUMERIC="ks_IN.devanagari"
LC_TIME="ks_IN.devanagari"
LC_COLLATE="ks_IN.devanagari"
LC_MONETARY="ks_IN.devanagari"
LC_MESSAGES="ks_IN.devanagari"
LC_PAPER="ks_IN.devanagari"
LC_NAME="ks_IN.devanagari"
LC_ADDRESS="ks_IN.devanagari"
LC_TELEPHONE="ks_IN.devanagari"
LC_MEASUREMENT="ks_IN.devanagari"
LC_IDENTIFICATION="ks_IN.devanagari"
LC_ALL=

Comment 2 Jakub Jelinek 2009-05-28 06:03:49 UTC
ks_IN.devanagari is not a valid locale name, devanagari is not a character set name.
You want ks_IN@devanagari or ks_IN.UTF-8@devanagari, which are supported, devanagari is a locale modifier, locale names look like:
language[_territory][.codeset][@modifier]

Comment 3 A S Alam 2009-05-28 06:30:16 UTC
ah, then GDM  language list making wrong locale setting for language having @modifier (like devanagari or cyrillic)
Language includes:
Kashimiri, Sandhi, uz

gdm-2.26.1-10

Comment 4 A S Alam 2009-05-28 06:46:41 UTC
it is duplicate for bug #502778

*** This bug has been marked as a duplicate of bug 502778 ***