On Sat, 10 Feb 2001, Hetz Ben Hamo wrote:

> Before you run your application, (or you can just set it whether you want 
> to), add: LANG=iw_IL
> 
> So, if you want to type in hebrew in kedit for example, then do: 
> 
> LANG=iw_IL kedit
> 
> Hetz
> 
> 
> On Saturday 10 February 2001 21:20, Sy Stange wrote:
> > I am running RedHat 7.0 with XFree86 4.0.2 and KDE 2.0.1 with the Hebrew
> > support.  My menus and dialogs show up in Hebrew when I use either the
> > 10646-1 or the 8859-8 encodings.
> >
> > However, I am unable to type in Hebrew - if I use the 8859-8 encoding it
> > comes out as question marks, if I use 10646-1 I get gibberish.
> >
> > I know that my locale and keyboard switching are all set up correctly
> > because I can type in Hebrew in Gnome, so this seems to be a KDE problem.
> >
> > Does anyone know what is going on here?

Sorry, Hetz, but I only now relized that kde probably got my locale
settings wrong. I set LANG to "he". I have in
/usr/lib/X11/locale/local.alias:

  $ egrep '^(he|iw)' /usr/lib/X11/locale/locale.alias 
  he                                              he_IL.ISO8859-8
  he_IL                                           he_IL.ISO8859-8
  he_IL.iso88598                                  he_IL.ISO8859-8
  iw                                              he_IL.ISO8859-8
  iw_IL                                           he_IL.ISO8859-8
  iw_IL.iso88598                                  he_IL.ISO8859-8
  hebrew.iso88598                                 iw_IL.ISO8859-8
  he:                                             he_IL.ISO8859-8
  he_IL:                                          he_IL.ISO8859-8
  he_IL.iso88598:                                 he_IL.ISO8859-8
  he_IL.cp1255:                                           he_IL.CP1255
  he_IL.microsoftcp1255:
  he_IL.CP1255
  he_IL.microsoft-cp1255:
  he_IL.CP1255
  he_IL.MICROSOFT-CP1255:
  he_IL.CP1255
  iw:                                             he_IL.ISO8859-8
  iw_IL:                                          he_IL.ISO8859-8
  iw_IL.iso88598:                                 he_IL.ISO8859-8
  hebrew.iso88598:                                iw_IL.ISO8859-8

however, in /usr/share/locale/locale.alias there is only:

  hebrew          iw_IL.ISO-8859-8

Furthermore, on my system the only relevant subdirectory of
/usr/share/locale/ with proper glibc locale settings is he/ . 

running:

  LANG=iw_IL kedit

makes the keyboard support work properly. But this does not mean that the
locale is properly set. For instance: the hebrew translation for the user
interface is not used. This means that at least as far as gettext is
concerened, the hebrew locale is not in place. This is what led me
previously to the wrong conclusion that the language settings were not the
problem.

The next stange would be for someone to localte exactly wheer qt decides
that only "iw_IL" (or "iw_IL.ISO-8859-8" or whatever) is the only proper
encoding for hebrew, and correct this.

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to