Localization/LanguagePacks: Difference between revisions

From OLPC
Jump to navigation Jump to search
(cat)
No edit summary
 
Line 1: Line 1:
[http://dev.laptop.org/~sayamindu/langpacks_v2/ 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.
[http://people.sugarlabs.org/sayamindu/langpacks/ 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 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)
* Identify the build series you are wanting to use (eg: 8.1, 8.2 or devel)
* Download the pack from http://dev.laptop.org/~sayamindu/langpacks_v2/ (the complete URL is in the form, http://dev.laptop.org/~sayamindu/langpacks_v2/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://dev.laptop.org/~sayamindu/langpacks_v2/8.2/rw_lang_pack_v2.sh)
* 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).
* 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
* Change the language from sugar-control-panel (if required), and restart

Latest revision as of 08:14, 4 June 2009

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.

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 :).