Changes

Jump to navigation Jump to search
Line 9: Line 9:     
=== Testing with language packs ===
 
=== Testing with language packs ===
 +
 +
This tests support for language packs (which are essentially translation files which can be installed separately from the activities later on by deployments)
 +
 +
* Set the locale to es_PE.UTF-8 by editing ~/.i18n (it should read LANG=es_PE.UTF-8)
 +
* Restart Sugar or sugar-emulator
 +
* Set the GConf key ''/desktop/sugar/i18n/langpackdir'' to some random directory (say ''/foo'')
 +
* Make directory ''/foo'' (with the command mkdir -p /foo)
 +
* Make directory /foo/es_PE/LC_MESSAGES
 +
* Download http://people.sugarlabs.org/~sayamindu/org.laptop.sugar.ReadActivity.mo into /foo/es_PE/LC_MESSAGES
 +
* Start Read Activity and confirm if the translation string for the Fullscreen button comes up as "FooBar"
 +
* Remove the file org.laptop.sugar.ReadActivity.mo
 +
* Restart Read Activity
 +
* Confirm if the translation string for the Fullscreen button comes up as Pantalla completa

Navigation menu