https://wiki.archlinux.org/api.php?action=feedcontributions&user=Nanaai&feedformat=atomArchWiki - User contributions [en]2024-03-29T15:12:08ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Localization/Japanese&diff=451051Localization/Japanese2016-09-18T07:11:09Z<p>Nanaai: minor and purely aesthetic grammar correction</p>
<hr />
<div>[[category:Internationalization]]<br />
{{Related articles start}}<br />
{{Related|Internationalization}}<br />
{{Related|Input Japanese using uim}}<br />
{{Related articles end}}<br />
<br />
This document provides instructions on how to set up a Japanese language environment on an Arch linux installation. This document will not cover setting up Japanese input on the console. <br />
<br />
==Fonts==<br />
<br />
''see also [[Fonts]] and [[Font configuration]] for configuration or more detail.''<br />
<br />
To use any Japanese input method, you need to have Japanese fonts installed.<br />
<br />
Recommended Japanese fonts are as follows.<br />
<br />
==== Sans-serif ====<br />
* [https://github.com/adobe-fonts/source-han-sans adobe-source-han-sans] || {{Pkg|adobe-source-han-sans-jp-fonts}} or {{Pkg|adobe-source-han-sans-otc-fonts}}<br />
: Open-source OTF fonts developed by Adobe.<br />
<br />
==== Serif (and Sans-serif) ====<br />
* [http://ossipedia.ipa.go.jp/ipafont/ IPA fonts] || {{Pkg|otf-ipafont}}<br />
: An open source OTF font set including sans-serif (Gothic) and serif (Mincho) glyphs provided by Information-technology Promotion Agency, Japan (IPA).<br />
<br />
If you want to show [[wikipedia:2channel_Shift_JIS_art|2channel Shift JIS art]] properly, use one of the following fonts:<br />
* ipamona font (AUR: {{AUR|ttf-ipa-mona}}{{Broken package link|{{aur-mirror|ttf-ipa-mona}}}})<br />
* Monapo font (AUR: {{AUR|ttf-monapo}})<br />
<br />
== Locale ==<br />
<br />
''See [[locale]] for detail''<br />
<br />
You should have {{ic|ja_JP.UTF-8}} enabled in {{ic|/etc/locale.gen}}.<br />
<br />
==Input in Xorg==<br />
<br />
===Input Method Framework===<br />
<br />
Input method (IM) frameworks act as frontends to various input methods and libraries, allowing the user to switch between different languages with ease.<br />
<br />
You can use the following frameworks:<br />
* [[Fcitx]]<br />
* [[IBus]]<br />
* [[Input Japanese using uim|uim]]<br />
* [[Nimf]]<br />
<br />
See the articles for details.<br />
<br />
{{Note|[[SCIM]] is dead project. You should not use it.}}<br />
<br />
===Input method===<br />
<br />
====Mozc====<br />
<br />
''Available IM Frameworks: Fcitx, IBus, uim''<br />
<br />
''See [[Mozc]]''<br />
<br />
[http://code.google.com/p/mozc/ Mozc] is a Japanese Input Method Editor (IME) designed for multi-platform such as Chromium OS, Windows, Mac and Linux which originates from [http://www.google.com/intl/ja/ime/ Google Japanese Input].<br />
<br />
Custom package {{AUR|mozc-ut}} comes with [http://www.geocities.jp/ep3797/mozc_01.html Mozc UT dictionary]. The dictionary adds over 350,000 words into original.<br />
<br />
====libkkc====<br />
<br />
''Available IM Frameworks: Fcitx, IBus''<br />
<br />
[https://bitbucket.org/libkkc/ libkkc] provides a converter from Japanese Kana-string to Kana-Kanji-mixed-string. It was named after kkc.el in GNU Emacs, a simple Kana Kanji converter, while libkkc tries to convert sentences in a bit more complex way using N-gram language models. It is developed by a Red Hat engineer.<br />
<br />
Install {{Pkg|fcitx-kkc}} (for Fcitx) or {{Pkg|ibus-kkc}} (for IBus).<br />
<br />
====SKK====<br />
<br />
''Available IM Frameworks: Fcitx, IBus, uim''<br />
<br />
[http://openlab.jp/skk/index.html SKK] (Simple Kana to Kanji conversion program) is a Japanese input method on Emacs. It was designed by Dr. Masahiko Sato (Professor Emeritus, Kyoto University) (old link) and created in 1987. A unique feature of SKK is that it converts words one by one (single-word conversion), without analyzing syntax or grammar.<br />
<br />
Install {{Pkg|skk-jisyo}} and {{Pkg|fcitx-skk}} (for Fcitx) or {{Pkg|ibus-skk}} (for IBus). uim supports SKK itself.<br />
<br />
==== Google CGI API for Japanese input ====<br />
<br />
''Available IM Framewworks: uim''<br />
<br />
[http://www.google.co.jp/ime/cgiapi.html Google CGI API for Japanese Input] (Google-CGIAPI-Jp) is CGI service to provide Japanese conversion on the Internet by Google. It can be used on [http://www.google.com/transliterate web browser]. Its conversion engine seems to be equivalent to Google Japanese Input, so conversion quality is probably better than Mozc.<br />
<br />
{{Note|This service sends/receives preedits and candidates as plain text (as of 2012-09).}}<br />
<br />
You can use it via uim. Choose "Google-CGIAPI-Jp" on uim-im-switcher-gtk/gtk3/qt4 or uim-pref-gtk/gtk3/qt4.<br />
<br />
====Anthy====<br />
<br />
Anthy is a factually dead project.</div>Nanaai