Bug 3646

Summary: Many Indian language locales still missing as of xorg_x11 6.8.2
Product: xorg Reporter: Daniel Stone <daniel>
Component: * OtherAssignee: Daniel Stone <daniel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: high CC: majain, mharris
Version: unspecifiedKeywords: l10n
Hardware: All   
OS: Linux (All)   
i915 platform: i915 features:
Description Flags
Patch for xorg-x11-6.8.2 srpm
Patch for 6 indic locales
Corrected colon (:) problem
Patch generated against git code none

Description FreeDesktop Bugzilla Database Corruption Fix User 2005-06-28 02:08:05 UTC
  The locales in /usr/X11R6/lib/X11/locale/{compose.dir,locale.dir,locale.alias}
are still missing many Indian languages, even where these exist in Unicode.
The symptom is a warning message when trying to run under one of these locales.
  env LANG=or_IN gedit
gives the error message:
  (gedit:2600): Gdk-WARNING **: locale not supported by Xlib

  (gedit:2600): Gdk-WARNING **: can not set locale modifiers
For a properly installed X locale, none such warning should be generated. I
have fixed this locally for Oriya (or) by trial and error, but in the absence
of documentation on writing X locales, I cannot be sure that my fix is correct.
The available Indian language locales in 6.8.2 are:
  Bengali  (bn_IN.UTF-8)
  Gujarati (gu_IN.UTF-8)
  Hindi (hi_IN.UTF-8)
  Punjabi (pa_in.UTF-8)
  Tamil (ta_IN.UTF8)
At least the following additional locales should exist:
  Assamese (as_IN.UTF-8)
  Kannada (kn_IN.UTF-8)
  Malayalam (ml_IN.UTF-8)
  Marathi (mr_IN.UTF-8)
  Oriya (or_IN.UTF-8)
  Telugu (te_IN.UTF-8)
  Urdu (ur_IN.UTF-8)
A similar bug was filed last year with Redhat bugzilla, and apparently some
action was taken. Please see,

Comment 1 Gora Mohanty 2005-09-04 05:08:50 UTC
Did something happen to bugzilla.freedesktop.org? The text for this bug seems
to have disappeared, and it does not recognize any of my older accounts.
Refiling the text:

X is missing various Indian locales as of version 6.8.2. The symptom is that
when an Xprogram is launched in one of the missing locales, an error message
is generated, e.g., with
   env LANG=or_IN gedit
I get the error messages
(gedit:2635): Gdk-WARNING **: locale not supported by Xlib
(gedit:2635): Gdk-WARNING **: cannot set locale modifiers
I have fixed this for or_IN by modifying compose.dir and locale.{alias,dir}
by trial and error, but due to lack of documentation, I am not sure if it is
correctly done.
  As of now, the following Indian language locales exist:
New locales need to be added at least for
Assamese       as_IN.UTF-8
Kannada        kn_IN.UTF-8
Malayalam      ml_IN.UTF-8
Marathi        mr_IN.UTF-8
Oriya          or_IN.UTF-8
Telugu         te_IN.UTF-8
Urdu           ur_IN.UTF-8

Comment 2 Daniel Stone 2005-09-30 00:52:30 UTC
Could you please attach a patch?
Comment 3 Mayank Jain 2006-03-20 19:27:50 UTC
Created attachment 4997 [details] [review]
Patch for xorg-x11-6.8.2 srpm

Hi, i've added {as,kn,ml,or,ur,te} to the xorg-x11-6.8.2 srpm
The changed files are locale.alias & locale.dir
Can the package maintainer please review the patch.

Related bug at Red Hat bugzilla -

Thanks :)
Comment 4 Mayank Jain 2006-06-05 23:31:11 UTC
Hi, can someone please review my patch...

thanks :)
Comment 5 Mayank Jain 2006-06-26 00:06:43 UTC
Hi Daniel,

Can the patch be please reviewed? The downstream reveiw depends on upstream review.

I'd be happy to contribute to any more work if required from my side.

Comment 6 Mike A. Harris 2006-06-30 17:39:34 UTC
(In reply to comment #4)
> Hi Daniel,
> Can the patch be please reviewed? The downstream reveiw depends on upstream
> I'd be happy to contribute to any more work if required from my side.

Can you update the patch to cleanly apply to the current X.Org X11R7.1
Comment 7 Mike A. Harris 2006-06-30 17:45:03 UTC
The original bug report seems to have lost the reporter email address.  Assuming
it was Mayank Jain, and adding to CC.
Comment 8 Mayank Jain 2006-07-03 02:52:53 UTC
Created attachment 6104 [details] [review]
Patch for 6 indic locales

The patch, adapted to latest codebase (cvs) is attached, kindly have a look.

Comment 9 Mayank Jain 2006-07-10 23:10:15 UTC
Created attachment 6185 [details] [review]
Corrected colon (:) problem
Comment 10 Mayank Jain 2006-07-11 01:13:14 UTC
Created attachment 6186 [details] [review]
Patch generated against git code

Hi, i've generated the new patch against latest code fetched from GIT.

Kindly review it.

Comment 11 Mike A. Harris 2006-07-11 10:46:14 UTC
Can someone please review this and check it into CVS if there are no
concerns/issues with the patch?

Thanks in advance.
Comment 12 Daniel Stone 2006-07-11 11:44:06 UTC
Comment 13 Mayank Jain 2006-07-11 22:04:12 UTC
Thanks Daniel, Mike :)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.