Localization/Indic

From ArchWiki
Jump to navigation Jump to search

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:

  • ttf-freebanglafontAUR - Font for Bangla
  • ttf-indic-otf - Indic OpenType Fonts collection (containing ttf-freebanglafont), provides the character U+0CA0 "ಠ"
  • lohit-fontsAUR - Indic TrueType fonts from Fedora Project (containing Oriya Fonts and more)
  • ttf-devanagarifontsAUR - Devanagari TrueType fonts (contains 283 fonts)
  • ttf-gurmukhi-fonts_sikhnetAUR - TrueType Gurmukhi fonts (gurbaniwebthick,prabhki)
  • ttf-gurmukhi_punjabiAUR - TTF Gurmukhi / Punjabi (contains 252 fonts)
  • ttf-gujrati-fontsAUR - TTF Gujarati fonts (Avantika,Gopika,Shree768)
  • ttf-kannada-fontAUR - Kannada, the language of Karnataka state in India
  • ttf-lklugAUR - Sinhala Unicode font
  • ttf-tamilAUR - Tamil Unicode fonts
  • ttf-urdufontsAUR - Urdu fonts (Jameel Noori Nastaleeq (+kasheeda), Nafees Web Naskh, PDMS Saleem Quran Font) and font configuration to set Jameel Noori Nastaleeq as default font for Urdu
  • fonts-smc-malayalamAUR - Malayalam Unicode Fonts released by 'Swathanthra Malayalam Computing' (contains 11 fonts).

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:

  • m17n project supports inscript layouts and transliteration schemes for Sanskrit, Assamese, Bengali, Burmese, Gujarati, Hindi, Kannada, Kashmiri, Maithili, Malayalam, Marathi, Nepali, Punjabi, Sindhi, Tamil, Telugu & Tibetan amongst others. The following support input methods:
  • varnam project supports transliteration for Hindi and Malayalam in IBus via libvarnam-ibus-gitAUR.

See also Localization#Input methods 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'll 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