Localization/Indic

From ArchWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This page explains how setup your Arch installation in order to input Indic languages.

All Indic

Fonts

The following packages provide fonts for a variety of Indic scripts:

Note: Some applications like Firefox and desktop environments will use ttf-font (ttf-dejavu, ttf-liberation, ttf-bitstream-vera, ttf-droid, gnu-free-fonts, noto-fonts, ttf-croscore, ttf-ibm-plex, etc.) by default. The gnu-free-font package does not have full support for Indic characters alignment. Thus, consider using noto-fonts over ttf-dejavu or gnu-free-fonts as a ttf-font source.

Locale

Setting up the locale will ensure that applications use appropriate localizations when available. Setup your locale by following instructions here.

Input methods

Since, keyboards with Indic layouts are extremely rare, you are likely to want to use transliteration. The following input method engines (IME) will help you accomplish this:

See also Input method for a list of available input-method frameworks.

Sinhalese

This section describes how to get Sinhalese Unicode support and Sinhalese Unicode input to work using IBus (sayura-ibus) or scim (sayura-scim).

Fonts

For Sinhala support, you can install any of these fonts:

Guide to install Sinhala Unicode Font

Download http://sinhala.sourceforge.net/files/lklug.ttf and place it in /usr/share/fonts.

Then Run the following command

fc-cache -fv

And proceed to the below steps..

Locale

Edit /etc/locale.gen. Uncomment following line

si_LK UTF-8

Run following program

locale-gen

Immediately you will be able to read Sinhala Unicode in your programs (If not You may need to restart the relavent programs. eg: Firefox)

Input methods

iBus

For Sinhala support on ibus install the following package

Logout from the current session and log in again after installing. After that, Sinhala input methods should be available on input method configuration panel.

FCITX

The only packaged fcitx based input method for Sinhalese is fcitx-sayura for Fcitx.

While there are also ibus-sayura and scim-sayura, they are no longer in the AUR (albeit they can still be found in the AUR archive).

See also