Open main menu

Gramps β

Changes

Animal pedigree

57 bytes added, 16:33, 24 June 2009
How to install the animal translation file
'''NOTE: this is a hack! Use with caution.'''
*Adaptation is done on the source code, by overwriting a language-country code you don't need. So first, you need to [[Brief_introduction_to_SVN|get the source code]]. Download with those instructions the source code of version 23.21. For example:
<code>
<code>
cd [myhome/mypath/]gramps2gramps31
./autogen.sh
make
*All OK? Now to apply the hack - download '''[[Image:gramps_animal_2_2_6.po.gz]]''' and unzip it in the '''gramps2gramps31/po''' directory
<code>
cp gramps_animal_2_2_6.po.gz [myhome/mypath/]gramps2gramps31/po cd [myhome/mypath/]gramps2gramps31/po
gzip -d gramps_animal_2_2_6.po.gz
</code>
*Now you have to use a locale that you wouldn't usually use. For instance, if your locale is en_GB, use en_US. create a symbolic link to '''gramps_animal_2_2_6.po''' in the '''po''' directory. The '''en_US''' locale is an example in '''all''' the command lines below. In the '''po''' directory do:
Update the translation according to last code :
<code>
ln -s gramps_animal_2_2_6msgmerge en_US.po gramps.pot -o en_US.po
</code>
</code>
*The '''gramps2gramps31/Makefile''' also needs to be modified to add the previously unused locale:
<code>
<code>
cd [myhome/mypath/]gramps2gramps31/src
LANGUAGE=en_US python gramps.py
</code>