Checking the installed locales

After completing the installation of the locales for glibc and X, one can check that everything is working properly. One will also need to install an Oriya font (see Sec. 3).

First, check the default locale with,


  echo $LANG
This will typically be en_US, or some other variant of English. You will need to remember this value to reset your default locale at the end. Set the locale to Oriya with,

  export LANG=or_IN
assuming that bash (the default shell under Redhat) or some Bourne shell derivative is being used. For tcsh and csh-derivatives, use instead,

  setenv LANG or_IN
and similarly modify the instructions below.

Now, typing date should give you the date in Oriya. On a normal, non-Unicode terminal, this will show up as some garbage with English numerals. Save the output to a file and examine the contents with yudit or gedit (see Sec. 5.2) to see the date properly formatted in Oriya. For example,


  date > junk
  gedit junk
If you get any error messages or warnings about unsupported locales, or if the date does not show up properly in Oriya, your locale and/or font is not properly installed. For resuming normal work, do not forget to reset to the default locale, e.g., with,

  export LANG=en_US
Replace en_US with whatever the default locale was determined to be at the beginning.

Gora Mohanty 2004-07-24