Sinhala: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
(Added path to download language pack)
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{translationlist |si| origlang=en | source=Sinhala | translated={{{translated}}}}}

[http://sinhala.linux.lk/ Sinhala Linux] supports the Sinhala script and Sinhala language of [[OLPC Sri Lanka|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 [[:Category:Linux distributions|Linux distributions]].
[http://sinhala.linux.lk/ Sinhala Linux] supports the Sinhala script and Sinhala language of [[OLPC Sri Lanka|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 [[:Category:Linux distributions|Linux distributions]].


== Enable Sinhala rendering ==
* Copy [http://sinhala.sourceforge.net/files/lklug.ttf lklug.ttf] font to /usr/share/fonts
* execute
<pre>fc-cache -fv</pre>

== Select Sinhala as the Sugar interface language==
* Control Panel -> Language -> Sinhala(Sri Lanka) OR
* In the command prompt;
<pre>
sugar-control-panel -s language Sinhala/Sri_Lanka
</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==
* Edit /etc/sysconfig/keyboard file and make the following changes;
<pre>
XKB_LAYOUT="us,lk"
XKB_VARIANT="olpc -option grp:alt_shift_toggle"
</pre>

* Restart the Sugar by using Ctrl+Alt+erase
* Now you can toggle between sinhala and english keyboards by using "Alt+Shift" key combination


[[Category:Languages (international)]]
[[Category:Languages (international)]]

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