Changes

From Gramps

Translation environment4

387 bytes removed, 09:07, 5 October 2012
Files and directory
===Files and directory===
Like with [[Translation_environment22#Files_and_directory|previous environment]], we need to list files with translation strings for retrieving messages and generating a 'po/gramps.pot' file. Process is now only using ''gettext'' and ''python''.
* gettext, intltool 'POTFILES.in' and 'POTFILES.inskip' filefiles
If you want a script to take your translatable strings into account, you must add your source file path in the file : <code>po/POTFILES.in</code>. For this report example, you should add:
...
See [[Translation_environment22]].
 
* xgettext and 'po/gramps' file
 
If you want a script to take your translatable strings into account, you must add your source file path in the file : <code>po/gramps</code>. For this report example, you should add:
 
...
../gramps/plugins/leak.py
../gramps/plugins/mediamanager.py
../gramps/plugins/myreport.py # <------
../gramps/plugins/narrativeweb.py
../gramps/plugins/patchnames.py
...
[[Category:Translators/Categories]]
[[Category:Developers/General]]

Navigation menu