maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Trouble with Chinese input on SailfishOS (https://talk.maemo.org/showthread.php?t=100156)

marmistrz 2018-01-15 19:36

Trouble with Chinese input on SailfishOS
 
Maybe I just don't know how. But I enabled the IME in the settings and selected it.

The keyboard is indeed a Chinese one, has the signs "符号" in the left corner but all it inputs is Latin characters. I selected the 中文 (拼音) keyboard.

How do I make it suggest me any Chinese characters?

Besides, the stroke keyboard - 中文 (手写简) doesn't work for me at all. It simply doesn't change the keyboard at all.

I'm using a ported device (OnePlus 3) - maybe I need to install some extra packages?

atlochowski 2018-01-15 21:08

Re: Trouble with Chinese input on SailfishOS
 
Checked on my Jolla 1 and every chinese keyboard is working.
Check if you have installed:
1. jolla-keyboard-hwr
2. jolla-keyboard-layout-chinese
3. all-translations-pack

marmistrz 2018-01-15 21:15

Re: Trouble with Chinese input on SailfishOS
 
All of them are installed.
Code:

zypper in jolla-keyboard-hwr jolla-keyboard-layout-chinese all-translations-pack
Loading repository data...
Reading installed packages...
'all-translations-pack' is already installed.
No update candidate for 'all-translations-pack-0.3.0-10.13.1.jolla.noarch'. The highest available version is already installed.
'jolla-keyboard-hwr' is already installed.
No update candidate for 'jolla-keyboard-hwr-0.6.12-10.61.1.jolla.armv7hl'. The highest available version is already installed.
'jolla-keyboard-layout-chinese' is already installed.
No update candidate for 'jolla-keyboard-layout-chinese-0.6.12-10.61.1.jolla.armv7hl'. The highest available version is already installed.
Resolving package dependencies...


marmistrz 2018-01-15 21:28

Re: Trouble with Chinese input on SailfishOS
 
But from the journal:

Code:

Jan 15 22:27:42 Sailfish invoker[2920]: WARNING: file:///usr/share/maliit/plugins/com/jolla/layouts/zh_hwr_simplified.qml:7:1: Type HwrLayout unavailable
Jan 15 22:27:42 Sailfish invoker[2920]: WARNING: file:///usr/share/maliit/plugins/com/jolla/HwrLayout.qml:6:1: module "com.jolla.hwr" is not installed

or
Code:

Jan 15 22:28:15 Sailfish invoker[2920]: WARNING: invalid inputhandler for Xt9CpInputHandler.qml, forcing paste input handler
Code:

$ rpm -ql jolla-keyboard-hwr
/usr/share/maliit/plugins/com/jolla/layouts/layouts_hwr.conf
/usr/share/maliit/plugins/com/jolla/layouts/zh_hwr_simplified.qml
/usr/share/maliit/plugins/com/jolla/layouts/zh_hwr_traditional.qml


jukk 2018-01-17 10:12

Re: Trouble with Chinese input on SailfishOS
 
/usr/share/maliit/plugins/com/jolla/HwrLayout.qml belongs to the package jolla-keyboard (not jolla-keyboard-hwr).

marmistrz 2018-01-17 10:13

Re: Trouble with Chinese input on SailfishOS
 
Quote:

Originally Posted by jukk (Post 1540319)
/usr/share/maliit/plugins/com/jolla/HwrLayout.qml belongs to the package jolla-keyboard (not jolla-keyboard-hwr).

This one is installed too.

jukk 2018-01-17 10:57

Re: Trouble with Chinese input on SailfishOS
 
Is the file there or missing?

marmistrz 2018-01-17 10:58

Re: Trouble with Chinese input on SailfishOS
 
Quote:

Originally Posted by jukk (Post 1540322)
Is the file there or missing?

The file is there.

jukk 2018-01-17 10:58

Re: Trouble with Chinese input on SailfishOS
 
Sorry, it is of course asking for "com.jolla.hwr".

jukk 2018-01-17 11:04

Re: Trouble with Chinese input on SailfishOS
 
com.jolla.hwr should be provided by jolla-handwriting.

marmistrz 2018-01-17 11:08

Re: Trouble with Chinese input on SailfishOS
 
Quote:

Originally Posted by jukk (Post 1540325)
com.jolla.hwr should be provided by jolla-handwriting.

What I noticed that I don't get any input suggestions when writing with the English keyboard, although I have screenshots showing such suggestions.

Nothing provides jolla-handwriting.

Code:

sudo zypper in jolla-handwriting
nemo's password:
Loading repository data...
Reading installed packages...
'jolla-handwriting' not found in package names. Trying capabilities.
No provider of 'jolla-handwriting' found.
Resolving package dependencies...

Nothing to do.

The repos:

Code:

Enabled repositories (global):
 - adaptation-community-common ... http://repo.merproject.org/obs/nemo:/devel:/hw:/common/sailfish_latest_armv7hl/
 - apps                        ... https://releases.jolla.com/jolla-apps/2.1.3.7/armv7hl/
 - hotfixes                    ... https://releases.jolla.com/releases/2.1.3.7/hotfixes/armv7hl/
 - jolla                      ... https://releases.jolla.com/releases/2.1.3.7/jolla/armv7hl/

Enabled repositories (user):
 - openrepos-Ancelad          ... http://sailfish.openrepos.net/Ancelad/personal/main
 - openrepos-BillyHalley      ... http://sailfish.openrepos.net/BillyHalley/personal/main
 - openrepos-Feathers_McGraw  ... http://sailfish.openrepos.net/Feathers_McGraw/personal/main
 - openrepos-MSameer          ... http://sailfish.openrepos.net/MSameer/personal/main
 - openrepos-Markkyboy        ... http://sailfish.openrepos.net/Markkyboy/personal/main
 - openrepos-MartinK          ... http://sailfish.openrepos.net/MartinK/personal/main
 - openrepos-Matoking        ... http://sailfish.openrepos.net/Matoking/personal/main
 - openrepos-Matsav          ... http://sailfish.openrepos.net/Matsav/personal/main
 - openrepos-NielDK          ... http://sailfish.openrepos.net/NielDK/personal/main
 - openrepos-Nokius          ... http://sailfish.openrepos.net/Nokius/personal/main
 - openrepos-Sailbook        ... http://sailfish.openrepos.net/Sailbook/personal/main
 - openrepos-Schturman        ... http://sailfish.openrepos.net/Schturman/personal/main
 - openrepos-Sfiet_Konstantin ... http://sailfish.openrepos.net/Sfiet_Konstantin/personal/main
 - openrepos-accumulator      ... http://sailfish.openrepos.net/accumulator/personal/main
 - openrepos-alina            ... http://sailfish.openrepos.net/alina/personal/main
 - openrepos-basil            ... http://sailfish.openrepos.net/basil/personal/main
 - openrepos-coderus          ... http://sailfish.openrepos.net/coderus/personal/main
 - openrepos-dicksonleong    ... http://sailfish.openrepos.net/dicksonleong/personal/main
 - openrepos-dr_gogeta86      ... http://sailfish.openrepos.net/dr_gogeta86/personal/main
 - openrepos-fravaccaro      ... http://sailfish.openrepos.net/fravaccaro/personal/main
 - openrepos-gexc            ... http://sailfish.openrepos.net/gexc/personal/main
 - openrepos-ken4scholars    ... http://sailfish.openrepos.net/ken4scholars/personal/main
 - openrepos-llelectronics    ... http://sailfish.openrepos.net/llelectronics/personal/main
 - openrepos-mikhel_sk        ... http://sailfish.openrepos.net/mikhel_sk/personal/main
 - openrepos-minitreintje    ... http://sailfish.openrepos.net/minitreintje/personal/main
 - openrepos-mumudada        ... http://sailfish.openrepos.net/mumudada/personal/main
 - openrepos-nodevel          ... http://sailfish.openrepos.net/nodevel/personal/main
 - openrepos-omnight          ... http://sailfish.openrepos.net/omnight/personal/main
 - openrepos-osetr            ... http://sailfish.openrepos.net/osetr/personal/main
 - openrepos-otsaloma        ... http://sailfish.openrepos.net/otsaloma/personal/main
 - openrepos-saidinesh5      ... http://sailfish.openrepos.net/saidinesh5/personal/main
 - openrepos-schorsch        ... http://sailfish.openrepos.net/schorsch/personal/main
 - openrepos-steffen_f        ... http://sailfish.openrepos.net/steffen_f/personal/main
 - openrepos-tardypad        ... http://sailfish.openrepos.net/tardypad/personal/main
 - openrepos-vasvlad          ... http://sailfish.openrepos.net/vasvlad/personal/main
 - openrepos-walokra          ... http://sailfish.openrepos.net/walokra/personal/main
 - store                      ... https://store-repository.jolla.com/oneplus3/armv7hl/?version=2.1.3.7

Disabled repositories (global, might be overridden by user config):

Disabled repositories (user):
 - home ... https://download.jollamobile.com/home:/honeybadger/latest_armv7hl/


jukk 2018-01-17 11:30

Re: Trouble with Chinese input on SailfishOS
 
This is on SailfishX. Maybe this is a proprietary package?

Code:

zypper in jolla-handwriting
Loading repository data...
Reading installed packages...
'jolla-handwriting' is already installed.
No update candidate for 'jolla-handwriting-0.1.1-10.1.5.jolla.armv7hl'. The highest available version is already installed.
Resolving package dependencies...

Nothing to do.


jukk 2018-01-17 12:45

Re: Trouble with Chinese input on SailfishOS
 
zypper info jolla-handwriting
...
Repository: xt9
...

ssu lr | grep xt9
- xt9 ... https://store-repository.jolla.com/features/2.1.3.7/xt9/armv7hl/

marmistrz 2018-01-17 17:44

Re: Trouble with Chinese input on SailfishOS
 
I was told on #sailfishos-porters that it's due to the fact that my device doesn't have store access. Thanks for pinning down the issue!


All times are GMT. The time now is 06:32.

vBulletin® Version 3.8.8