[ghemical-devel] Translate Ghemical]
Tommi Hassinen
Tommi.Hassinen at uku.fi
Wed Jun 10 04:50:29 EDT 2009
Hello Ulisses,
I will now explain the steps how I made the finnish translation, so that you can repeat the
procedure with the portugese translation. I will also send the instructions to ghemical-devel
for future reference.
1) get the latest ghemical + libghemical (trunk) versions from bioinformatics.org SVN repository.
2) go into "po" subdirectory of libghemical and run a command : intltool-update --pot
a file libghemical.pot will be created as a result.
3) copy libghemical.pot to fi.po using a command : cp libghemical.pot fi.po
4) edit fi.po in the following ways:
4a) remove completely the line 7 with the following content : #, fuzzy
if you don't do this, all translations in the file are marked "fuzzy" and ignored!
4b) at line 17, replace the follwing text : charset=CHARSET\n
with the proper character set definition you are using ; this is probably the follwing : charset=UTF-8\n
4c) then just start filling in the translations (by updating the msgstr lines ; see the other .po files for reference).
4x) if (and when) the original english texts in the source files are edited, you can automatically update an
existing po file (for example fi.po) so that the old translations are kept but new texts are added and possibly
outdated translations are maked "fuzzy" (in the same way as explained in step 4a). just update the libghemical.pot
file as in step 2) and then run a command : intltool-update --dist fi ; this will update the fi.po file as explained above.
5) add locale symbol fi to the LINGUAS file
6) then just do the usual installation : ./configure + make + make install for the source tree...
7) repeat the steps 2 - 6 for the ghemical source tree as well...
8) finally I can test the finnish translation using this command : LANG=fi_FI.UTF-8 ghemical
I hope this helps!
Best Regards,
Tommi
________________________________________
From: Ulisses Leitao [ualeitao at yahoo.com]
Sent: Monday, June 08, 2009 3:58 PM
To: Tommi Hassinen
Subject: Re: [ghemical-devel] Translate Ghemical]
Hello Tommi,
I have endly time to translate Ghemical into Portuguese.
Could You give me the instructions?
Ulisses
More information about the ghemical-devel
mailing list