[maemo-developers] [maemo-developers] Hildon Input Method

From: Mohammad Anwari mohammad.anwari at nokia.com
Date: Tue Feb 13 16:24:11 EET 2007
Pada hari Senin, tanggal 12/02/2007 pukul 12:31 -0800, ext Kimitake Abe
menulis:
> I just modified the sample project and created lib such as
> himja-vkb.a(la,so) and installed to N800!
> But I cannot see the ja_JP etc. on the control panel's GUI.

Where do you expect the ja_JP would appear in cpanel?
It should be appear in Text Input Settings applet in control panel.

> So I have tried to reboot the device, and then it reboots and reboots
> again X-(
> 
> Anyway, I have set hildon_im_plugin_info as follow, is it correct?
>    "himja_vkb_new", /* new func */
>     "himja_vkb", /* name */
>     "Keyboard (Japanese)", /* menu title */
>     NULL, /* gettext */
>     TRUE, /* visible in menu */
>     FALSE, /* cached */
>     IM_TYPE_KEYBOARD, /* type */
>     IM_GROUP_CJK, /* group */
>     DEFAULT_PRIORITY, /* priority */
>     NULL, /* no other plugin in SCV button */
>     ""      /* help page */
> 
> And also I set as follow.
> gchar **
> hildon_im_plugin_get_available_languages (gboolean *free)
> {
>   static gchar *list[] = { "ja_JP", NULL };
>   *free = FALSE;
> 
>   return list;
> }

I modify the sample to follow yours above and successfuly have it in the
menu.
But I manually change the language to Japanese first:

gconftool-2 -t string -s /apps/osso/inputmethod/primary_language ja_JP


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ja_Jp.png
Type: image/png
Size: 9005 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20070213/9ff05cc0/attachment.png 
More information about the maemo-developers mailing list