Difference between revisions of "HowTo"

From GCompris
Jump to: navigation, search
 
(removed deprecated instructions)
 
Line 1: Line 1:
== Manually update translation on Ubuntu 7.10 ==
 
  
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:
 
<pre>
 
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
 
</pre>
 
 
Then copy it in :
 
<pre>
 
/usr/share/locale-langpack/"YOUR LOCALE"/LC_MESSAGES/gcompris.mo
 
</pre>
 
 
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:
 
<pre>
 
find /usr/share/locale-langpack/ -name gcompris.mo
 
</pre>
 
 
It will display one or more lines like this:
 
<pre>
 
/usr/share/locale-langpack/mr/LC_MESSAGES/gcompris.mo
 
/usr/share/locale-langpack/th/LC_MESSAGES/gcompris.mo
 
...
 
</pre>
 
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"/ :
 
<pre>
 
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>
 
</pre>
 
 
Then start GCompris, it should be properly translated.
 

Latest revision as of 12:30, 14 September 2013