[From nobody Thu Nov 20 14:10:07 2008 Subject: Re: [ghemical-devel] [ghemical-users] Translate Ghemical From: Jean =?ISO-8859-1?Q?Br=E9fort?= <jean.brefort@normalesup.org> To: Tommi Hassinen <Tommi.Hassinen@uku.fi> In-Reply-To: <1AC4EAB4DCE9684A9CED368EA459CBACA54A5F6C1D@EXCHVS1.ad.uku.fi> References: <a087dbb40808270125s32bebc57te666008c5ccfa597@mail.gmail.com> <1AC4EAB4DCE9684A9CED368EA459CBACA53F9185DB@EXCHVS1.ad.uku.fi> <1219936592.4007.2.camel@acer> <1AC4EAB4DCE9684A9CED368EA459CBACA53F9185DC@EXCHVS1.ad.uku.fi> <1219998654.3992.4.camel@acer> <1AC4EAB4DCE9684A9CED368EA459CBACA53F9185DE@EXCHVS1.ad.uku.fi> <1220005067.3992.25.camel@acer> , <a087dbb40811200340x530320abwf6b321797b200d6@mail.gmail.com> <1AC4EAB4DCE9684A9CED368EA459CBACA54A5F6C1D@EXCHVS1.ad.uku.fi> Content-Type: text/plain; charset=utf-8 Message-Id: <1227207997.3526.4.camel@athlon> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Date: Thu, 20 Nov 2008 20:06:38 +0100 Content-Transfer-Encoding: quoted-printable Menus are not translated because the _() macro is not appropriate in that case. Use the N_() macro instead. This concerns all translatable strings in gtk_app::entries1 and gtk_app::entries2 at least. e.g. N_("_File") instead of _("_File") Best regards, Jean Le jeudi 20 novembre 2008 =C3=A0 16:42 +0200, Tommi Hassinen a =C3=A9crit= : > Hello, > I haven't had any success in translating the glade dialogs yet. > Thanks for the modifications, I will look at them. >=20 > However, I would like to remind you that I have just a few hours > per week for maintaining/developing ghemical/libghemical. >=20 > Thanks, > Tommi >=20 > ________________________________________ > From: ghemical-users-bounces@bioinformatics.org [ghemical-users-bounces= @bioinformatics.org] On Behalf Of Vlado Peshov [vlatkop@gmail.com] > Sent: Thursday, November 20, 2008 1:40 PM > To: ghemical-devel@bioinformatics.org; ghemical-users@bioinformatics.or= g > Subject: Re: [ghemical-users] [ghemical-devel] Translate Ghemical >=20 > On Fri, Aug 29, 2008 at 11:17 AM, Jean Br=C3=A9fort <jean.brefort@norma= lesup.org<mailto:jean.brefort@normalesup.org>> wrote: >=20 > Attached a preliminary patch. You'll need to run intltoolize --force > before autoconf, automake and autoheader to make it work. >=20 > In the po directory, running "intltool-update -p" will generate > ghemical.pot that you can rename to any .po file, e.g.: > mv ghemical.pot fi.po >=20 >=20 > We have used this patch and we have modified the source code for ghemic= al and libghemical by adding macro directives to all of the string that m= ay be translatable. We have successful generated .pot for both projects (= ghemical and libghemical). > While I was testing the translation for ghemical, I noticed that the tr= anslations for the whole menu bar and the buttons bellow the menu are not= shown at all. The messages in the console and the main window tabs are p= rinted well. >=20 > The modified source code can be found here including macedonian po file= : >=20 > http://fossrepo.genrepsoft.info/vlatko/ghemical/ >=20 > We are stuck here on this and we don't know why is this happening. > So, any help will be welcomed. >=20 > Regards, Vlado >=20 > _______________________________________________ > ghemical-devel mailing list > ghemical-devel@bioinformatics.org > http://www.bioinformatics.org/mailman/listinfo/ghemical-devel >=20 ]