[Qgis-community-team] doing translation using OSX

Diethard Jansen diethard.jansen at gmail.com
Thu Jun 21 00:42:01 PDT 2012


Hello,

Last weekend I have tried to do some translation on my MacBook (OSX snow
leopard).
For me it was mainly to get some insight in the translation process which
is a bit technical.

I found that I had to install gettext additionally to create mo.files from
po.files. I followed instructions from
http://www.rmnl.net/read-about/installing-gettext-snow-leopard-django/

For mac make compile_messages unfortunately does not work because the osx
find-command does not understand the printf argument that is used to remove
path from the full filename.

Instead I had to use something like:
msgfmt source/translated/nl/preamble.po -o
source/translated/nl/LC_MESSAGES/preamble.mo

Next I continued to translated preamble using Qlinguist, which works fine.
However sometimes you have to restructure the rst document for the language
as well.
For example to give credits for the ones who have helped to translate the
document there is a need to add an additional table below the authors
table. This can not be done using Qlinguist.
So I propose that  in every language tree there should be the possibility
to create rst documents that can be changed a little bit. During the build
these should override the main rst documents. Ofcourse the contents of the
rst documents should not be translated!

What I also miss now is the possibility to include the localized
screenshots.
So except for giving attention to get the rst documentation upgraded to 1.8
as fast as possible I guess we should have to give attention to those
additional changes to make translations possible.

I will have a try to produce a python build script that can be used on all
platforms and includes the possibity of using local rst and screenshots.

Regards,
Diethard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-community-team/attachments/20120621/2550b41d/attachment.html>


More information about the Qgis-community-team mailing list