Difference between revisions of "Localization/Sinhalese"

From ArchWiki
Jump to: navigation, search
(Add more Sinhala fonts)
(Guide to install Sinhala Unicode Font: style)
Line 9: Line 9:
  
 
== Guide to install Sinhala Unicode Font ==
 
== Guide to install Sinhala Unicode Font ==
Download and Install '''[http://sinhala.sourceforge.net/files/lklug.ttf lklug.ttf]''' Sinhala Unicode font file
+
 
sudo pacman -S wget
+
Download http://sinhala.sourceforge.net/files/lklug.ttf and place it in {{ic|/usr/share/fonts}}.
sudo wget -P /usr/share/fonts http://sinhala.sourceforge.net/files/lklug.ttf
 
  
 
Then Run the following command
 
Then Run the following command

Revision as of 09:39, 28 August 2017

This page explains how to get the Sinhala unicode support and sinhala unicode input to work using IBus (sayura-ibus) or scim (sayura-scim).

Sinhala Unicode Font

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..

Enabling Sinhala 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)

Sinhala Unicode Input Support

sayura-ibus

Install ibus-sayuraAUR[broken link: archived in aur-mirror] from the AUR. For more information about see IBus.

sayura-scim

Install scim-sayuraAUR[broken link: archived in aur-mirror] from the AUR.

scim configuration

More about scim can be found here. To enable scim add following lines to /etc/profile

export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"

Further Reading and More Information