[Localization] Language packs - testing needed

samy boutayeb s.boutayeb at free.fr
Sat Oct 8 12:09:47 EDT 2011


Le samedi 08 octobre 2011 à 14:46 +0000, Aleksey Lim a écrit :
> On Sat, Oct 08, 2011 at 12:41:50PM +0200, samy boutayeb wrote:
> > Hi,
> > I tested the locale FR-FR on a XO 1.5 with Sugar 0.94. The French locale
> > was already set up.
> > 
> > After downloading fr_lang_pack_v2.sh and executing it as root, in a
> > terminal, I got following message:
> > "Verifying archive integrity... All good.
> > Uncompressing language pack....."
> > 
> > So far, so good.
> > Then, I restarted the XO and did some "random" checks.
> > 
> > I am not sure if the latest translations committed are included in this
> > language pack because a few old translations, which were updated on the
> > Pootle server and committed properly after the release of Sugar 0.94
> > aren't updated on the XO.
> 
> The content of langpacks is exactly the current .po files on pootle
> server, i.e., it might be not committed to upstream projects.
> 

OK.
I ran the updated script again.

One example:
The file /usr/share/locale/fr/LC_MESSAGES/sugar.mo has following string:

msgid "About my Computer"
msgstr: "Mon ordinateur"

which is an old translation, that has been updated recently and changed
to:

msgid "About my Computer"
msgstr: "À propos de mon ordinateur"

in
http://translate.sugarlabs.org/fr/glucose/sugar.po?view_mode=translate 

and committed as:

72	72 #: ../extensions/cpsection/aboutcomputer/__init__.py:21
73	73	msgid "About my Computer"
74		msgstr "Mon ordinateur"
	74	msgstr "À propos de mon ordinateur"

(according to
http://git.sugarlabs.org/sugar/mainline/commit/24d6321e193179a011666782389181f8151721f1 )

As a consequence, the French string displayed for "About my computer" is
still the old translation "Mon ordinateur".

Strange, it is not?

> > I ran the fr_lang_pack_v2.sh script again and got following message:
> > 
> > "Verifying archive integrity... All good.
> > Uncompressing language pack.............................
> > chown: opérande manquant après « olpc:olpc »
> > Saisissez « chown --help » pour plus d'informations.
> > 
> > Finally, I tried the script "uninstall_language_pack_fr"/
> > It ended with a sequence of error messages like:
> > 
> > /usr/bin/uninstall_language_pack_fr: line
> > 236: /home/olpc/Activities/TamTamJam.activity/locale/fr/LC_MESSAGES/org.laptop.TamTamJam.mo: Permission non accordée
> 
> Fixed.
> 

Thanks, both fr_lang_pack_v2.sh (2 consecutive executions) and
uninstall_language_pack_fr work fine!

Rgds
samy




More information about the Localization mailing list