Language Packs are generated on a nightly basis, which can be simply installed in a XO laptop (you can also use this on an emulated XO). Here's a step by step mini-HOWTO on how to use the language packs.
- Identify the language code of the language you want to install (eg: fr for French, nl for Dutch, es for Spanish, etc). A mapping is available at http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
- Identify the build series you are wanting to use (eg: 8.1, 8.2 or devel)
- Download the pack from http://people.sugarlabs.org/sayamindu/langpacks/ (the complete URL is in the form, http://people.sugarlabs.org/sayamindu/langpacks/NN/LL_lang_pack_v2.sh, where NN and LL are the build series numbers and language codes respectively. For example, for 8.2 and Kinyarwanda, the URL would be http://people.sugarlabs.org/sayamindu/langpacks/8.2/rw_lang_pack_v2.sh)
- Copy this file to an XO, and as root, run the script (eg: sh rw_lang_pack_v2.sh).
- Change the language from sugar-control-panel (if required), and restart
- If you mess up, there's an uninstallation script which removes the installed files - as root user, just run uninstall_langpack_LL (where LL is the language code).
The code which generates the language packs lives in http://dev.laptop.org/git?p=users/sayamindu/langpackgen;a=summary. You can check it out with the command git clone git://dev.laptop.org/users/sayamindu/langpackgen Patches and suggestions are most welcome :).