Changes

Jump to: navigation, search

Translating Gramps

357 bytes added, 15:26, 20 October 2013
Updating your translation: back-porting translatins
* Check fuzzy messages and translate all untranslated messages in <code>newlang.po</code>. When you are sure everything is right, rename <code>newlang.po</code> as <code>lang.po</code> and check it into SVN as you did with the original file.
* If command <code>msgmerge</code> is not available on your system, you have to install the <code>}gettext</code> package. For [http://wiki.wxpython.org/index.cgi/Internationalization#How_to_get_gettext_tools_for_Win32 windows users].
* To back-port translations, e.g., to merge trunk translations onto an earlier branch, do this on the eariler branch (assuming gramps.pot is updated):
<pre>msgmerge -C lang.po trunk-lang.po gramps.pot -o newlang.po</pre>. Then resolve the fuzzies as usual.
There is also the make target that does the following:
in the <code>po</code> directory. This assumes that you have already succesfully configured the source. Note, this command ignores <code>--no-wrap</code> option, so not practical for SVN diffs.
{{man warn|Environment change|For gramps 4.0 and trunk, see [[Translation_environment4|new environment]].}}
===Testing your update===
===Installing your translation===
{{man warn|Environment change|For gramps 4.0 and trunk, see [[Translation_environment4|new environment]].}}
You want to use the new translation immediately, and systemwide?
==Translating man pages==
{{man warn|Environment change|For gramps 4.0 and trunk, see [[Translation_environment4#Translating_man_pages|new environment]].}}
You can also translated the man pages into your own language.
Note that reports/tools link to a section in the page with the same name as the report name in Gramps.
*You should be able to edit directly on wiki or using tools like [http://translate.sourceforge.net/wiki/toolkit/txt2po txt2po] or [http://po4a.alioth.debian.org/ po4a]. Also previous gettext file for the manual and [http://en.wikipedia.org/wiki/Translation_memory Translation Memory] may help you to upgrade deprecated/old gettext files. eg, store existing entries from ''/usr/share/locale''.
==Language specific pages==
296
edits

Navigation menu