After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 552473 - Sugar: Italian Translation not picked up on last signed release (711)Update1
Sugar: Italian Translation not picked up on last signed release (711)Update1
Status: RESOLVED OBSOLETE
Product: gcompris
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Bruno Coudoin
Rami Aubourg-Kaires
Depends on:
Blocks:
 
 
Reported: 2008-09-16 09:52 UTC by Carlo Falciola
Modified: 2010-01-16 19:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Logfile before file patch workaround (145.17 KB, text/plain)
2008-10-30 10:25 UTC, Carlo Falciola
Details
Logfile on XO OLPC after directory patch (153.38 KB, text/plain)
2008-10-30 10:27 UTC, Carlo Falciola
Details
logfile producted on an XO running Build 767 (8.2.0!) (3.26 KB, text/plain)
2008-11-07 23:10 UTC, Carlo Falciola
Details
Produced by gcompris.activity.xo.10 (145.13 KB, text/plain)
2008-11-11 21:24 UTC, Carlo Falciola
Details

Description Carlo Falciola 2008-09-16 09:52:18 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:
Comment 1 Bruno Coudoin 2008-09-16 22:20:58 UTC
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.
Comment 2 Carlo Falciola 2008-09-16 22:33:45 UTC
(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
Comment 3 Carlo Falciola 2008-10-01 08:44:10 UTC
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    
Comment 4 Carlo Falciola 2008-10-30 10:23:35 UTC
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  
Comment 5 Carlo Falciola 2008-10-30 10:25:39 UTC
Created attachment 121632 [details]
Logfile before file patch workaround
Comment 6 Carlo Falciola 2008-10-30 10:27:03 UTC
Created attachment 121633 [details]
Logfile on XO OLPC after directory patch
Comment 7 Bruno Coudoin 2008-11-06 23:11:41 UTC
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.
Comment 8 Carlo Falciola 2008-11-07 14:12:44 UTC
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 
Comment 9 Bruno Coudoin 2008-11-07 21:18:30 UTC
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.
Comment 10 Carlo Falciola 2008-11-07 23:06:38 UTC
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 
Comment 11 Carlo Falciola 2008-11-07 23:10:21 UTC
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
Comment 12 Bruno Coudoin 2008-11-08 14:43:33 UTC
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
Comment 13 Carlo Falciola 2008-11-11 21:19:28 UTC
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 
Comment 14 Carlo Falciola 2008-11-11 21:24:06 UTC
Created attachment 122454 [details]
Produced by gcompris.activity.xo.10
Comment 15 Daniel Drake 2009-02-16 17:50:57 UTC
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
Comment 16 Bruno Coudoin 2010-01-16 19:59:28 UTC
GCompris on XO is now distributed by Sugar.