Afghanistan Setup: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
Line 40: Line 40:


[[Tweaking_the_boot_animation]]
[[Tweaking_the_boot_animation]]

==Making Sugar interface RTL for Dari and Pashto language==

There are some key values in gtk20.mo and the locales file which control the direction of the interface. 8.2.0 as shipped does not recognize Dari and Pashto as RTL languages - to fix this:

* Download Sayamindu's updated locales file and unpack:

wget http://dev.laptop.org/~sayamindu/locale-archive.bz2
bunzip2 locale-archive.bz2
mv locale-archive /usr/lib/locale

* Copy gtk20.mo to /usr/share/locale/ps/LC_MESSAGES/

Then restart to check.

Revision as of 12:11, 8 February 2009

Afghanistan Setup

This page is intended to act as a public reference to the current Afghan setup for OLPC. As of this writing we are just getting ready for the first day Feb 10th - the details below are subject to change in accordance with requirements / pilot experience.

All info tested against build 767 (8.2.0)

Keyboard Setup

/etc/sysconfig/keyboard to contain:

KEYTABLE="us"
XKB_MODEL="olpc"
XKB_LAYOUT="af,us"
XKB_VARIANT="olpc-ps,olpc2"

Hit Ctrl+Alt+Erase to restart sugar and one should now be able to use the keyboard switching key (english only keyboards the times and divide key)

Localized Files (from Pootle)

As of this writing the Pashto localization is ***ON HOLD*** as the Pashto computer glossary from the Ministry of Communication and IT is not yet revised to be understandable by children. For the moment we are therefor using Dari.

When changing the keyboard layout (the times divide key if required) then please note this bug that causes issues in the write activity:

http://dev.laptop.org/ticket/8892

Download the language pack for Pashto / Dari as per:

Localization/Testing#Using_the_Language_Packs

As translation is ongoing one might need to check for syntax errors in the files:

msgfmt --check <pathtopofiles>


Changing the Start Screen

The laptop has been changed to Bismallah Rahman Al Rahim (Meaning literally in the name of god, traditionally at the start of a book or speech in Afghanistan) - files will be uploaded for this - instructions / details from:

Tweaking_the_boot_animation

Making Sugar interface RTL for Dari and Pashto language

There are some key values in gtk20.mo and the locales file which control the direction of the interface. 8.2.0 as shipped does not recognize Dari and Pashto as RTL languages - to fix this:

  • Download Sayamindu's updated locales file and unpack:

wget http://dev.laptop.org/~sayamindu/locale-archive.bz2 bunzip2 locale-archive.bz2 mv locale-archive /usr/lib/locale

  • Copy gtk20.mo to /usr/share/locale/ps/LC_MESSAGES/

Then restart to check.