Afghanistan Setup

From OLPC
Revision as of 05:54, 16 March 2009 by Mikedawson (talk | contribs)
Jump to navigation Jump to search

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 Mar 17th - 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)

Pashto files have just been updated according to the new glossary released by ACSA.

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

(This is only for 8.2.0 - this will be fixed in 8.2.1)

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

Then restart to check. gtk20.mo is currently attached to an email - will shortly find a place to upload it..