Changes

Jump to: navigation, search

Animal pedigree

1,044 bytes added, 04:01, 18 May 2012
by gender
{{languages|Animal pedigree}} You can use GRAMPS also to keep track of the pedigree of breed animals. Note however that no special provisions are available for this. Eg, e.g. a bull will have countless families, and numerous children, for which the GRAMPS interface is not really designed.  <gallery>Image:Relationships_animal.png|Relationships (animal)Image:Pedigree_animal.png|Pedigree (animal)Image:Edit_animal.png|Edit (animal)</gallery>
== Animal translation file ==
...
The file '''[[Image:gramps_animal_2_2_6.po is .gz]]''', [[Image:Animal.po.gz]] (3.1.3) are an English sub-translation that makes using GRAMPS far more intuitive when dealing with animals. Example output from a build using this file can be seen [http://www.dogo-canario.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_SVN|get the source code]]. Download with those instructions the source code of version 23.21. For example:
<code>
svn co https://gramps.svn.sourceforge.net/svnroot/gramps/trunkbranches/maintenance/gramps31/gramps2
</code>
<code>
cd {your home[myhome/your path}mypath/gramps2]gramps31
./autogen.sh
make
</code>
Initial build requirement for Ubuntu 7.04: <code> 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 [[Image:Animal.po.gz]] (3.1.3) and unzip it in the gramps2'''gramps31/po ''' directory
<code>
cp gramps_animal_2_2_6.po.gz {your home[myhome/your pathmypath/}gramps2]gramps31/po cd {your home[myhome/your pathmypath/}gramps2]gramps31/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''' directorydo:
Update the translation according to last code :
<code>
ln -s msgmerge gramps_animal_2_2_6.po gramps.pot -o en_US.po
</code>
*And make sure the '''po/Makefile ''' picks up the special locale that you chose:
<code>
perl -n -i -e 'if(/^ALL_LINGUAS/){chop; print "$_ en_US\n"}else{print $_}' Makefile
</code>
*The gramps2'''gramps31/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 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 [myhome/mypath/]gramps31/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]]
2,186
edits

Navigation menu