[gcompris-devel] Workaround for missing translations on Ubuntu 7.10

Bruno Coudoin bruno.coudoin at free.fr
Mon Jan 14 22:30:54 UTC 2008


As the GCompris translations for Ubuntu 7.10 are broken. I propose you a
workaround in which we will overwrite the current translation file by
the one provided by GCompris.

To do this, get the GCompris .mo translation file from here:
http://gcompris.net/incoming/locale/
Follow the link up to the file gcompris.mo in the proper locale
directory. For example, for French, follow fr/LC_MESSAGES/gcompris.mo

Then copy it in :
/usr/share/locale-langpack/"YOUR LOCALE"/LC_MESSAGES/gcompris.mo

To determine you locale, you can start a console and run the "locale"
command alone. You can check the output line like for French it displays
LANG=fr_FR.UTF-8. The short locale is 'fr'. You can then check what
locales are installed for GCompris with this command:
find /usr/share/locale-langpack/ -name gcompris.mo

It will display one or more lines like this:
/usr/share/locale-langpack/mr/LC_MESSAGES/gcompris.mo
/usr/share/locale-langpack/th/LC_MESSAGES/gcompris.mo
...
depending on how many locales you have installed.

As you need the super user right, and I don't know how to to this from
the user interface, you can enter these commands in a console WHILE
REPLACING /fr/ by /"your locale"/ :
cd /tmp
wget http://gcompris.net/incoming/locale/fr/LC_MESSAGES/gcompris.mo
sudo cp gcompris.mo /usr/share/locale-langpack/fr/LC_MESSAGES/
<Enter your user password>

Then start GCompris, it should be properly translated.

Let me know if this works.

It let me think that we definitely need an How To. I started one with
this workaround in our wiki at :
http://gcompris.net/wiki/index.php/HowTo

Bruno.






More information about the Gcompris-devel mailing list