"Lau Tung-Leng" <[EMAIL PROTECTED]> writes:

> Dear All,
> 
> I am currently writing an Input Method for the TinyX environment on an
> in house StrongARM board (very much like the Compaq iPAQ).  I'm using
> IMdKit (yes, I know it's kind of outdated...) to develop the IM.
> 
> The IM has been set to support "en_US", "zh_TW" and "C" locales. A
> sample application written in GTK+ was used.  GTK+ on this system is
> version 1.2.10.
> 
> I've set the LC_ALL to be "en_US", (and of course, XMODIFIERS to point
> to the IM name) and when running the IM and sample application (running
> IM before application),  I noted the following:
> 
> 1. IM reports the GTK+ application of "C" locale.
> 2. GTK+ application reports IM of "C" locale.
> 3. When IM commits a string to the application, the application receives
> the event, but the received string is NULL.
> 
> On my system, X11's locale directory is at /usr/X11R6/lib/X11/locale,
> and a symbolic link at /usr/lib/X11/locale points to it too.  This
> directory was copied off from a x86 Linux system.
> 
> As for glibc's locale directory, I've store it at /usr/lib/locale (on my
> x86 Linux system, it's stored at /usr/share/locale).
> 
> What else am I missing?
> Am I making sense?

Well, one very simply thing to check, are you calling gtk_set_locale()
before gtk_init() in your GTK+ test program?

                                        Owen
_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to