Sinhala: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
(Added path to download language pack)
 
Line 15: Line 15:
sugar-control-panel -s language Sinhala/Sri_Lanka
sugar-control-panel -s language Sinhala/Sri_Lanka
</pre>
</pre>
* Download the self extracting Sinhala language pack, [http://dev.laptop.org/~sayamindu/langpacks_v2/8.2/ si_lang_pack_v2.sh] and execute it from command line.


== Enabling Sinhala keyboard==
== Enabling Sinhala keyboard==

Latest revision as of 19:25, 14 December 2008

english | සිංහල

Sinhala Linux supports the Sinhala script and Sinhala language of Sri Lanka by creating Sinhala-enabled versions of applications for merging into Debian and other distributions. Sinhala fonts and keyboards are in Debian and other Linux distributions.


Enable Sinhala rendering

  • Copy lklug.ttf font to /usr/share/fonts
  • execute
fc-cache -fv

Select Sinhala as the Sugar interface language

  • Control Panel -> Language -> Sinhala(Sri Lanka) OR
  • In the command prompt;
sugar-control-panel -s language Sinhala/Sri_Lanka
  • Download the self extracting Sinhala language pack, si_lang_pack_v2.sh and execute it from command line.

Enabling Sinhala keyboard

  • Edit /etc/sysconfig/keyboard file and make the following changes;
XKB_LAYOUT="us,lk"
XKB_VARIANT="olpc -option grp:alt_shift_toggle"
  • Restart the Sugar by using Ctrl+Alt+erase
  • Now you can toggle between sinhala and english keyboards by using "Alt+Shift" key combination