GNOME Bugzilla – Bug 552473
Sugar: Italian Translation not picked up on last signed release (711)Update1
Last modified: 2010-01-16 19:59:28 UTC
Please describe the problem: The Italian translated strings are not picked up on a XO G1G1 running Update 1 711. - The XO Sugar is switched to Italian and other available translation are shown correcltly. - The linux locale command returns it_IT in all cases. Same package does show correctly translated strings on an updated Sugar simulator on (it) Ubuntu 8. The .xo package should be the latest 8.5 B downloaded i week ago from olpc activities page. Steps to reproduce: 1. Change the default language from the sugar-control-panel (command line in Sugar Update1) 2. Install the gcompris xo package via Browse activity, downloading from the activity olpc page 2. The Gcompris control panel show the italian flag, but all the string are still in english Actual results: Italian is shown as selected language (italian flag in the Gcompris control panel) but all the strings are still in english. Expected results: Does this happen every time? Yes (on the XO) Other information:
It works only if you installed Italian locale support on your XO. You can check that Italian is available with the command 'locale -a' that you must run in a terminal. You should see 'it_IT' in the result If not, you must install the italian language pack but I don't know the exact process on the XO.
(In reply to comment #1) > It works only if you installed Italian locale support on your XO. You can check > that Italian is available with the command 'locale -a' that you must run in a > terminal. You should see 'it_IT' in the result > > If not, you must install the italian language pack but I don't know the exact > process on the XO. > Hi Bruno, Yes, that's the point, I did install the italian localization for Sugar & switched the locale settings to it_IT, but italian strings do not show up, even if gcompris pick-up the italian flag in the preferences panel. some thing in the sugar packge emulated i Ubuntu works fine. ciao e grazie carlo
Yesterday I update my XO with the latest signed release that is the first Release Candidate for Sugar 8.2.0 (candidate-765) from wiki.olpc.org . My Xo has been switched to Italian from the sugar control panel ands all the sugar & activities UI get italian strings. Gcompris does report the correct italian flag in the Gcompris control panel, but all the strings stay in english. Please let me know if you need any more information & detail Merci, Carlo Falciola
Reason Found! In the gcompris installation in the XO (OLPC) the locale directory structure got copied in (logfile line 30) package_locale_dir = /home/olpc/Activities/gcompris.activity/share/locale but the directory in (logfile line 38) Overloaded locale_dir = /home/olpc/Activities/gcompris.activity/locale does not exist by default! Then I tryed just create /home/olpc/Activities/gcompris.activity/locale and then to copy the it/* structure there and now the italian strings are working ! So it seems it's a packaging issue for the .xo bundle. Unfortunately I've not idea how to fix it by myself apart from local workaround. I also attach the activity logfile before and after workaround. ciao Carlo Falciola
Created attachment 121632 [details] Logfile before file patch workaround
Created attachment 121633 [details] Logfile on XO OLPC after directory patch
Thanks for your investigations. It really helped me. I just uploaded a version bundle version 10 that fixes this. Please confirm me I fixed it.
Hi Bruno, please note that the file http://dev.laptop.org/~bdoin/xo/ gcompris.activity.xo 06-Nov-2008 17:26 11M but the older i s bigger gcompris.activity.xo.9 03-Nov-2008 13:28 57M Is it correct? which one is to be tested? ciao carlo
Oops no. I upgraded to ubuntu 8.10 and GCompris no more compiles. I thus created a half package. I just uploaded a new version. Please make the test now.
It don't start now.... Please see attached log... (before to install I cleaned up the previous version deleting it from journal & check the activity directory was gone.. ciao
Created attachment 122212 [details] logfile producted on an XO running Build 767 (8.2.0!) GCompris V10 won't stat on my XO note Installation of package done via USB stick + Journal as usual
Ok, it means my build process on Ubuntu is no more compatible with the XO. I then created a gcompris.activity.xo.10 that I made by unzipping the previous release and making the fix in it and rezipping the whole. Please make a test, if it works I will renamed it as gcompris.activity.xo
Hi, I tried today gcompris.activity.xo.10. Now it starts but the issue with locale is still there: Basically all the other activities have a locale directory in the activity main dir /home/olpc/Activities/Browse.activity/locale gcompris.activity.xo.10 installs /home/olpc/Activities/gcompris.activity/share/locale to make a test I copied the locale dir structure from share to /home/olpc/Activities/gcompris.activity/ but the trick does not work anymore please see the attached log... let me know if you need more info ciao carlo
Created attachment 122454 [details] Produced by gcompris.activity.xo.10
We hit this problem here in Paraguay - we want the text in Spanish. I tried gcompris.xo.10 and I can confirm that it does not solve the problem. Text is still in English. I fixed this locally and for Paraguay's distribution by modifying runit.sh I changed --localedir=$path/locale to $path/share/locale
GCompris on XO is now distributed by Sugar.