[ghemical-users] [ghemical-devel] Translate Ghemical

Vlado Peshov vlatkop at gmail.com
Fri Aug 29 05:22:38 EDT 2008

On Thu, Aug 28, 2008 at 5:16 PM, Jean Bréfort
<jean.brefort at normalesup.org>wrote:

> Le jeudi 28 août 2008 à 14:49 +0300, Tommi Hassinen a écrit :
> > Hello!
> >
> > The translation effort should be directed to the latest version which is
> 2.98 at the moment. The version 2.10 is outdated and I'm only interested in
> keeping it working, not improving it anymore.
> >
> > The best method for translation is apparently the gettext method:
> >
> > http://en.wikipedia.org/wiki/Gettext
> >
> > I have not yet done this, not for Ghemical nor other programs. So the
> code changes will take time, and one must start from the most important GUI
> elements:
> >
> > 1) toolbar buttons + menu items + tooltips etc related to them
> > 2) dialog windows
> > 3) possibly other texts ; Ghemical is a quite text intensive program
> after all, and the texts come from two sources which are the Ghemical
> application itself and the libghemical library which does the actual
> computation tasks. So I think a complete translation will take a lot of
> time...
> >
> > There are problems in 2) because the dialog windows are done using
> libglade, and it seems to me that these libglade dialogs cannot be
> translated the same way as the rest of the application (because there are no
> source files related to those dialogs, just the .glade files).
> They can indeed, no difference/

As it says here:


and here:


it is possible to translate these files.

> > Does anyone have any knowledge and/or experience in translating dialogs
> made with libglade?
> You just need to list the glade files in po/POTFILES.in

This method is used in The GIMP project and it is working. I will try this
and write what will happen.

> > So, I'm interested in helping translate Ghemical but it's going to take
> some time.
> I might help too, as I have already done that. It should not take so
> long.

Because I am not so familiar with gtk programming, I don't know for sure how
translation will be done in .cpp files. Here:


 I found directives how is translation going in GNOME projects via gettext.
This is standard method for translating and as Jean says this is not so big
job to do. I just think that the time that I would spent to modify the code
it will be much more than the time spent for someone who knows the source

Anyway I will help in testing, or any other way. Just tell me what to do.

The application that we are working on, will be in production on Edubuntu
7.04, so thats why I asked for version 2.10 (the version which comes with
Ubuntu 7.04), but if I make custom build with version 2.98 no one will have

Regards, Vlado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.bioinformatics.org/pipermail/ghemical-users/attachments/20080829/8ee16f7f/attachment.html 

More information about the ghemical-users mailing list