Localization/LanguagePacks: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: [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). He...)
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
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
Line 9: Line 9:


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

[[category:localization]]
[[category:Testing]]
[[Category:Language support]]
[[Category:Languages (international)]]

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