Hello, 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. E.g., 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 ISCII (hi_IN.ISCII-DEV) 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, https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=124253 Regards, Gora
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: Bengali Gujarati Hindi Punjabi Tamil 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
Could you please attach a patch?
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 - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=185376 Thanks :)
Hi, can someone please review my patch... thanks :) Mayank
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. :) Mayank
(In reply to comment #4) > 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. Can you update the patch to cleanly apply to the current X.Org X11R7.1 release?
The original bug report seems to have lost the reporter email address. Assuming it was Mayank Jain, and adding to CC.
Created attachment 6104 [details] [review] Patch for 6 indic locales Hi, The patch, adapted to latest codebase (cvs) is attached, kindly have a look. Thanks, Mayank
Created attachment 6185 [details] [review] Corrected colon (:) problem
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. Thanks, Mayank
Can someone please review this and check it into CVS if there are no concerns/issues with the patch? Thanks in advance.
done
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.