Professional Web Applications Themes

language choice in RH 9 - Linux Setup, Configuration & Administration

I am trying to understand how language choice in RH 9 works, in particular in relationship to the locale database. The reason is that some of my settings are messed up and I have no idea why. For example: /etc/sysconfig/i18n contains LANG="en_US" SUPPORTED="en_US:en" SYSFONT="lat0-sun16" SYSFONTACM="iso01" now if I startup acroread I get an error message UTF-8 not supported, and next it crashes. If I remove i18n and use redhat-config-language then the i18n after choosing American English (and this is the only choice strange enough despite the fact that locale contains all sorts of languages) becomes: LANG="en_US.UTF-8 SUPPORTED="en_US.UTF-8:en" the rest is ...

  1. #1

    Default language choice in RH 9

    I am trying to understand how language choice in RH 9 works,
    in particular in relationship to the locale database. The
    reason is that some of my settings are messed up and I have
    no idea why.

    For example:

    /etc/sysconfig/i18n

    contains

    LANG="en_US"
    SUPPORTED="en_US:en"
    SYSFONT="lat0-sun16"
    SYSFONTACM="iso01"

    now if I startup acroread I get an error message

    UTF-8 not supported, and next it crashes. If I remove i18n
    and use redhat-config-language then the i18n after choosing
    American English (and this is the only choice strange enough
    despite the fact that locale contains all sorts of languages)
    becomes:

    LANG="en_US.UTF-8
    SUPPORTED="en_US.UTF-8:en"
    the rest is the same as above.

    So that is why I thought there is something wrong with
    language choice. GDM seems to have something to do with
    it. The question now is:

    where, in addition to /etc/sysconfig/i18n

    is there information stored about the chosen language?

    Thanks for your help.

    Peter


    Peter Lucas Guest

  2. #2

    Default Re: language choice in RH 9

    Peter Lucas wrote:
    > I am trying to understand how language choice in RH 9 works,
    > in particular in relationship to the locale database. The
    > reason is that some of my settings are messed up and I have
    > no idea why.
    >
    > For example:
    >
    > /etc/sysconfig/i18n
    >
    > contains
    >
    > LANG="en_US"
    > SUPPORTED="en_US:en"
    > SYSFONT="lat0-sun16"
    > SYSFONTACM="iso01"
    >
    > now if I startup acroread I get an error message
    >
    > UTF-8 not supported, and next it crashes. If I remove i18n
    > and use redhat-config-language then the i18n after choosing
    > American English (and this is the only choice strange enough
    > despite the fact that locale contains all sorts of languages)
    > becomes:
    >
    > LANG="en_US.UTF-8
    > SUPPORTED="en_US.UTF-8:en"
    > the rest is the same as above.
    >
    > So that is why I thought there is something wrong with
    > language choice. GDM seems to have something to do with
    > it. The question now is:
    >
    > where, in addition to /etc/sysconfig/i18n
    >
    > is there information stored about the chosen language?
    >
    > Thanks for your help.
    It's scattered in the kernel, in /usr/share/ in a bunch of places, in
    the packages of various software, etc.

    There is a *LOT* of old core utilities that break with the various
    internationalizion standards: "nroff" (which is at the core of the "man"
    command) and "sort" are two of the most critical ones messed up by this
    approach to add options for every environment and possible environment
    under the sun, rather than using a basic standard. And don't get me
    going on combining Samba with Asian versions of Windows: b-r-r-r-r-r-r.

    In general, whenever writing shell scripts and other tools these days, I
    same myself a whole lot of pain by making "LANG=POSIX" one of the first
    bits of environment configuration: it helps a lot. Since I believe that
    acroread has a binary shell script that actually calls the executable
    over in /opt, you could edit that shell script and add that setting.

    Nico Kadel-Garcia Guest

Similar Threads

  1. Dictionary language switches language during spellcheck
    By barbpocock@adobeforums.com in forum Adobe Indesign Windows
    Replies: 6
    Last Post: May 26th, 05:48 PM
  2. Script language choice
    By Jeremy in forum ASP
    Replies: 2
    Last Post: September 12th, 03:49 PM
  3. Replies: 0
    Last Post: August 12th, 02:26 PM
  4. Replies: 0
    Last Post: August 12th, 12:04 PM
  5. Replies: 0
    Last Post: July 2nd, 08:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139