Changes

Jump to: navigation, search

Animal pedigree

561 bytes added, 12:57, 7 November 2013
svn to git
{{languages|Animal pedigree}} You can use GRAMPS Gramps also to keep track of the pedigree of breed animals. Note however that no special provisions are available for this. e.g. a bull will have countless families, and numerous children, for which the GRAMPS Gramps interface is not really designed.
<gallery>
== Animal translation file ==
For easy working with animals in GRAMPSGramps, it helps if some terminology is changed. That is
* Person -> Animal
* Father -> Sire
...
The file '''[[Image:gramps_animal_2_2_6.po.gz]]''' is , [[Image:Animal.po.gz]] (3.1.3) are an English sub-translation that makes using GRAMPS Gramps far more intuitive when dealing with animals.
Example output from a build using this file can be seen [http://www.stonesflockdogo-canario.co.uk fr/pedigree/ here(dogs in french)].
== 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_SVNBrief_introduction_to_Git|get the source code]]. Download with those instructions the source code of version 2.2. For example:
For example:
<code>
svn co httpsgit clone http://svngit.sourceforgecode.sf.net/svnrootp/gramps/trunk/gramps2source Gramps
</code>
*Change directory to the source code branch and make sure it builds:
<code>
cd [myhomeGramps git checkout -b gramps31 origin/mypathmaintenance/]gramps2gramps31
./autogen.sh
make
</code>
*All OK? Now to apply the hack - download '''[[ImageInitial build requirement for Ubuntu 7.04:gramps_animal_2_2_6.po.gz]]''' and unzip it in the '''gramps2/po''' directory
<code>
cp sudo apt-get install libglib2.0-dev gnome-common</code>  *All OK? Now to apply the hack - download '''[[Image:gramps_animal_2_2_6.po.gz ]]''' or [myhome/mypath/[Image:Animal.po.gz]]gramps2/(3.1.3) and unzip it in the '''po''' directory <code> cp gramps_animal_2_2_6.po.gz po cd [myhome/mypath/]gramps2/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 msgmerge gramps_animal_2_2_6.po gramps.pot -o en_US.po
</code>
</code>
*The '''gramps2/Makefile''' also needs to be modified to add the previously unused locale:
<code>
<code>
make
</code>
To install this version globally, overwriting the install of your package manager, also do
<code>
sudo make install
</code>
*To run GRAMPS Gramps with the new locale applied, all that is required now in the case of a global install is:
<code>
LANGUAGE=en_US gramps
</code>
 
In the case you only have Gramps locally, do instead
 
<code>
cd src
LANGUAGE=en_US python gramps.py
</code>
*Enjoy!
==See also==*[http://en.wikipedia.org/wiki/List_of_animal_names List of animal names], From Wikipedia [[Category:Documentation]][[Category:Translators/Categories]]

Navigation menu