<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Dear Tommi,<br><br>I am glade to send you directely the translation into pt_BR<br>of both Ghemical r.934 and libghemical.<br><br>The Debian package was generated for our <br>ProLinux 2.0 Educational release.<br><br>The repo is: <br><br>deb http://repositorio.sistemaprolinux.com.br/debian lenny main contrib non-free<br><br>Thank You very much for Ghemical!<br><br>Cheers,<br><br>Ulisses<br><br>&nbsp; <br><br><br><br>--- On <b>Wed, 6/10/09, Tommi Hassinen <i>&lt;Tommi.Hassinen@uku.fi&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Tommi Hassinen &lt;Tommi.Hassinen@uku.fi&gt;<br>Subject: RE: [ghemical-devel] Translate Ghemical]<br>To: "Ulisses Leitao" &lt;ualeitao@yahoo.com&gt;<br>Cc: "ghemical-devel@bioinformatics.org" &lt;ghemical-devel@bioinformatics.org&gt;<br>Date: Wednesday,
 June 10, 2009, 5:50 AM<br><br><div class="plainMail">Hello Ulisses,<br><br>I will now explain the steps how I made the finnish translation, so that you can repeat the<br>procedure with the portugese translation. I will also send the instructions to ghemical-devel<br>for future reference.<br><br>1) get the latest ghemical + libghemical (trunk) versions from bioinformatics.org SVN repository.<br><br>2) go into "po" subdirectory of libghemical and run a command : intltool-update --pot<br>a file libghemical.pot will be created as a result.<br>3) copy libghemical.pot to fi.po using a command : cp libghemical.pot fi.po<br>4) edit fi.po in the following ways:<br>4a) remove completely the line 7 with the following content : #, fuzzy<br>if you don't do this, all translations in the file are marked "fuzzy" and ignored!<br>4b) at line 17, replace the follwing text&nbsp; : charset=CHARSET\n<br>with the proper character set definition you are using ; this is
 probably the follwing : charset=UTF-8\n<br>4c) then just start filling in the translations (by updating the msgstr lines ; see the other .po files for reference).<br><br>4x) if (and when) the original english texts in the source files are edited, you can automatically update an<br>existing po file (for example fi.po) so that the old translations are kept but new texts are added and possibly<br>outdated translations are maked "fuzzy" (in the same way as explained in step 4a). just update the libghemical.pot<br>file as in step 2) and then run a command : intltool-update --dist fi&nbsp;&nbsp;&nbsp;; this will update the fi.po file as explained above.<br><br>5) add locale symbol fi to the LINGUAS file<br><br>6) then just do the usual installation : ./configure + make + make install for the source tree...<br><br>7) repeat the steps 2 - 6 for the ghemical source tree as well...<br><br>8) finally I can test the finnish translation using this command :
 LANG=fi_FI.UTF-8 ghemical<br><br>I hope this helps!<br>Best Regards,<br>Tommi<br><br>________________________________________<br>From: Ulisses Leitao [<a ymailto="mailto:ualeitao@yahoo.com" href="/mc/compose?to=ualeitao@yahoo.com">ualeitao@yahoo.com</a>]<br>Sent: Monday, June 08, 2009 3:58 PM<br>To: Tommi Hassinen<br>Subject: Re: [ghemical-devel] Translate Ghemical]<br><br>Hello Tommi,<br><br>I have endly time to translate Ghemical into Portuguese.<br><br>Could You give me the instructions?<br><br>Ulisses<br></div></blockquote></td></tr></table><br>