LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Unable to type Japanese text..... (https://www.linuxquestions.org/questions/linux-desktop-74/unable-to-type-japanese-text-539879/)

pmohod 03-23-2007 05:46 AM

Unable to type Japanese text.....
 
Hi,
I have developed application using qt-x11-commercial-3.3.6, on MontaVista Linux, which has an English language Onscreen keyboard which the user uses to key in text in the application. Now we have a requirement to support Japanese text. So our aim is to enter Japanese text using this English OSKB.

Please let us know if it is possible to integrate our OSKB with SCIM .

I have installed SCIM 1.4.4 & scim-anthy-1.2.1.
After running scim,I am getting following output :

Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...


My locale is :
LANG=ja_JP.utf8
LC_CTYPE=ja_JP.utf8

XMODIFIERS=@im=SCIM
QT_IM_MODULE=scim
GTK_IM_MODULE=scim

But still I am not able to type Japanese text.
Am I missing anything ? Please help.

David the H. 03-23-2007 07:03 AM

The last I heard, QT doesn't work with scim directly. You need to instead set it as QT_IM_MODULE=xim.

Not sure if that's your whole problem, but it could be part of it.

Edit: This might also be part of your problem.
Quote:

IMPORTANT: scim by default works only in an en_US.UTF-8 locale! If you use a different UTF-8 locale (or locales), edit the first line of /etc/scim/global, so it reads (for instance)
/SupportedUnicodeLocales = en_US.UTF-8,en_GB.UTF-8,ja_JP.UTF-8

Alternatively, this can be specified on a per-user basis in ~/.scim/config.
It's from here:
http://www.jw-stumpel.nl/stestu.html#T6.4.2

Finally, there's also a KDE version of scim called skim. You might want to try testing with it as well.

pmohod 03-26-2007 01:56 AM

Thanks David for reply...
I thing I am able to run Backend(Engine) properly but not able to connect it with fronrend(Client) .
I have also installed uim,uim-xim. But could not understand how run my application (for example MyTextEdit which display textEdit) as a client to Uim or Scim.

Can you help regarding this.

J_W 03-30-2007 03:01 AM

> I have installed SCIM 1.4.4 & scim-anthy-1.2.1.

Did you install anthy ?
The latest stable version is anthy-8700b.
http://sourceforge.jp/projects/anthy/files/


All times are GMT -5. The time now is 04:17 PM.