X locale

These instructions for setting up a locale for X are largely taken from the PunjabiLog page of the IndLinux project [35] and from the RPMs on the IIT-Kanpur site [34]. Modify each of the following files in /usr/X11R6/lib/X11/locale/, adding the lines containing ``or_IN.'' (The alphabetic order of the files should be maintained, so that the surrounding lines are given below for context. Your files might have different surrounding lines, so it is advisable to follow alphabetical order.)
compose.dir
  ...
  en_US.UTF-8/Compose              oc_FR.UTF-8
  en_US.UTF-8/Compose              or_IN.UTF-8
  en_US.UTF-8/Compose              pd_DE.UTF-8
  ...
  en_US.UTF-8/Compose:             oc_FR.UTF-8
  en_US.UTF-8/Compose:             or_IN.UTF-8
  en_US.UTF-8/Compose:             pd_DE.UTF-8
  ...
locale.alias
  ...
  oc_FR@euro                       oc_FR.ISO8859-15
  or                               or_IN
  or_IN                            or_IN.UTF-8
  pd                               pd_US.ISO8859-1
  ...
  or:                              or_IN.ISO8859-1
  or_IN:                           or_IN.ISO8859-1
  ...
locale.dir
  ...
  en_US.UTF-8/XLC_LOCALE           oc_FR.UTF-8
  en_US.UTF-8/XLC_LOCALE           or_IN.UTF-8
  en_US.UTF-8/XLC_LOCALE           pd_DE.UTF-8
  ...
  en_US.UTF-8/XLC_LOCALE:          or_IN.ISO8859-1
  ...
Restart your X server in order for the changes to take effect; the simplest way being to log off and log back in.

It is possible that the files on your system have different entries from the ones listed above. So, the best strategy is to copy all lines that have ``oc'' or ``oc_FR'' (but not oc_FR@euro'') in them into the same file, and to replace ``oc'' with ``or,'' or ``oc_FR'' with ``or_IN.''


Gora Mohanty 2004-07-24