Page 1 of 1

Japanese Language (Anthy) in Libre Office

Posted: 06 Sep 2015 23:41
by aWanderer
I have Anthy installed and I am able to write in Japanese within Firefox no problem, but once I switch over to Libre Office the ability is hit-and-miss, usually miss. What I encounter is that I press 'cntl + space' to switch, the taskbar icon shows a switch, but within the composition window the writing stays in roman characters completely. At times the switch works, I'm not sure why. Can anyone tell me what's going wrong?

Re: Japanese Language (Anthy) in Libre Office

Posted: 07 Sep 2015 05:13
by Arjen Balfoort
I don't know about Anthy but when you selected the Japanese language during the installation of SolydX, these packages should have been installed (provided that you had an internet connection during the installation):

Code: Select all

fonts-vlgothic fonts-takao im-config fcitx fcitx-mozc fcitx-frontend-gtk3 fcitx-ui-classic fcitx-config-gtk mozc-utils-gui
Shouldn't that be enough?

balloon helped me with the Japanese localization. So, if nobody can help you here, perhaps you could PM him.

Re: Japanese Language (Anthy) in Libre Office

Posted: 07 Sep 2015 23:50
by ilu
No, that would be enough only for languages that use letters or even syllabic alphabets - which you can enter via a normal keyboard. Japanese, chinese as well, has several thousend Kanji which are too many signs to select with a normal keyboard. Thats what Anthy is for: You type a syllable and the system gives you the corresponding list of Kanji you can choose from.
Edit: I just realised that fcitx is another frontend like Anthy, mainly for chinese. Sorry. I still think the problem is somewhere in the config not the install.

I have no experience with Anthy but I have an idea what the problem might be. XFCE can either switch the language window-wise (default, I think) or system-wide if you choose so. So if you hit ctrl-space in FF window it will switch for that window, rest stays. Change focus to LO, use your key-combo there and see whether that changes the language. Look where your mouse pointer is when you switch (if that moves your focus, which can also be configured somewhere). I had the same problem first when I installed russian keyboard as described here http://forums.solydxk.com/viewtopic.php?f=9&t=5820. The taskbar icon was a total mess (it still is, for different reasons) until I configured the XFCE keyboard plugin to switch system-wide: "In the options (right click on the flag in the taskbar => Properties) you can change keyboard per application or globally. "

Does that help?

Re: Japanese Language (Anthy) in Libre Office

Posted: 08 Sep 2015 04:44
by aWanderer
Under Anthy preferences it has: share the same input method among all applications and it was checked already. It seems pretty global except for LO.

It's frustrating because I know that Anthy does work to some degree in LO. It would be nice to stick to Anthy but I might try those packages, thanks.

Re: Japanese Language (Anthy) in Libre Office

Posted: 08 Sep 2015 05:45
by Arjen Balfoort
Is Anthy a package to add to the list of packages mentioned in my previous post?

Re: Japanese Language (Anthy) in Libre Office

Posted: 08 Sep 2015 10:55
by kurotsugi
yep...switching keyboard language on XFCE sometimes could be problematic. it's not only for japanese but other language as well. on my experince using a system wide setting, just like ilu said, usually works more consistent.

@schoelje: nope. anthy is similar software like fcitx. we need to pick one of it. i might be wrong but fcitx seems more popular than anty so using fcitx might be already good decision for solyd.

Re: Japanese Language (Anthy) in Libre Office

Posted: 08 Sep 2015 11:54
by ilu
@aWanderer: The plugin you see in the taskbar is from Anthy or XFCE? If you rightclick it you get an Anthy properties menu which is set to global or the XFCE plugin menu?
Are there reasons why you would prefer Anthy to fcitx? I would consider tryng one of them myself.

@kurotsugi: Do you happen to know whether it's possible to change the symbol (flag) used by the keyboard switcher plugin? Do you know where it's stored? I' always switching between german flag and german flag although the second one is russian.

@schoelje: Fcitx and its modules cover several east-asian languages while Anthy is specialized on japanese only, as far as I can see, so sticking with fcitx would probably be the more general solution. As I said, I might try them and see for myself.

Re: Japanese Language (Anthy) in Libre Office

Posted: 08 Sep 2015 13:03
by kurotsugi
it could be either provided by the package or provided by icon themes. I rarely use this feature since my native language is using common alphabet.

Re: Japanese Language (Anthy) in Libre Office

Posted: 11 Sep 2015 15:36
by aWanderer
Schoelje,
After installing those packages my Anthy seems to work. TBH I'm not sure if I'm just on the lucky end of my problem or if the packages fixed something.

fcitx was usable for me on Manjaro except I don't know how to activate it here. Going into fcitx settings I am unable to add an input method (there are no choices in the menu). Do I have all of the necessary fcitx packages? 'fcitx-skk' (not installed) seems to have something to do with Japanese.

Re: Japanese Language (Anthy) in Libre Office

Posted: 11 Sep 2015 16:15
by ilu
fcitx-mozc (Googles jp IME), fcitx-skk (Simple Kana to Kanji), and fcitx-anthy are all japanese IME, just different, and you should be able to choose which one you use after install. Why that's not working I can't say without having fcitx installed myself.

I've used a japanese IME years ago under Win 3.1 and I think it was romaji -> kana -> kanji. Since I haven't studied japanese that was way easier for me than kana->kanji. I would like to have that again in Linux. mozc seems to be kana-kanji only but I'm not sure. Can you tell me whether one of the IME supports romaji input best from your experience?

Re: Japanese Language (Anthy) in Libre Office

Posted: 10 Nov 2015 09:37
by balloon
I just confirmed this contribution. sorry... :|
When you still meet with this problem, please accept comment.

Re: Japanese Language (Anthy) in Libre Office

Posted: 10 Nov 2015 15:11
by ilu
I'm still searching a japanese IME with romaji support. Input should be romaji --> kana --> kanji.

Re: Japanese Language (Anthy) in Libre Office

Posted: 10 Nov 2015 15:22
by balloon
Are ilu looking for it from a menu of Fcitx? There is no setting to demand there.

There is "Mozc Setup" (Mozc の設定) from Application Menu (It is Whisker Menu in SolydX)
and the item which you buy there. (input mode: Romaji(ローマ字) or Kana(かな))



By the way, "Kana-Kanji" (かな漢字 aka libkkc or kkc) increases in Japanese Input Method Editor
along with Anthy and Mozc.
We can use libkkc in IBus and have not been yet set in Fcitx,
libkkc is adopted as standard equipment now in Fedora (and recent Red Hat):

https://packages.debian.org/jessie/ibus-kkc

Therefore please be careful about notation to avoid confusion.

Re: Japanese Language (Anthy) in Libre Office

Posted: 10 Nov 2015 18:15
by ilu
balloon wrote:Are ilu looking for it from a menu of Fcitx? There is no setting to demand there.

There is "Mozc Setup" (Mozc の設定) from Application Menu (It is Whisker Menu in SolydX)
and the item which you buy there. (input mode: Romaji(ローマ字) or Kana(かな))
OK, so there is Romaji in fcitx-mozc. I will try that, thank you.