Re: Flaw in Plans for World Domination
- From: Mathieu Lacage <mathieu eazel com>
- To: ph_roy yahoo com
- Cc: gnome-devel-list gnome org
- Subject: Re: Flaw in Plans for World Domination
- Date: 18 Sep 2000 02:30:01 -0700
Philippe Roy <ph_roy yahoo com> writes:
> > reader: I am french, I read, write and speak english fluently and I have
> > been working on C code with French comments -> that was EVIL.
> > (perhaps the code was simply really bad but...)
>
> Only comments are french, in fact I prefer thinking in my natural language
Comments should NOT be in french. This is my point.
> (enriched thinking, like litterature). How writting a melancolic book
> without Portuguese ?
This is not literature. This is code.
>
> But this point isn't closed and perhaps I'll change.
>
> For the momment, Where I can find a soft for generation translation of C
> comments ? (like using getext for the _(bla bla) ). Existing ? Project ?
>
You can mark string to be translated with N_()
which will make them be aded to the list of strings to be translated.
Then, you have to write your own script which generates translated code
from original one and .po files. by calling gettext on them (a day hack)
This sounds like a huge waste of time for a lot of pain maintaining both
the coments and the translations in sync. It is already difficult for simple
strings so I can barely imagine it for full paragraphs/sentences.
regards,
Mathieu
>
> On 17 Sep 2000, Mathieu Lacage wrote:
> > Date: 17 Sep 2000 17:25:56 -0700
> > To: ph_roy yahoo com
> > From: Mathieu Lacage <mathieu eazel com>
> > Subject: Re: Flaw in Plans for World Domination
> >
> >
> > Philippe Roy <ph_roy yahoo com> writes:
> >
> > > Salut,
> > >
> > > > Neanmoins je pense que le code doit etre ecris en anglais, noms de
> > > > variable en anglais, etc...
> > >
> > > Et pour les commentaires ?
> > >
> > > Est-ce qu'il existe un soft qui permet l'internationalisation des
> > > commentaires des sources ?
> > > Un peu commmes les fameux po, mais pour générer les sources dans une
> > langue
> > > souhaitée.
> >
> > smoking crack ?
> >
> > The programming langages are based on english: it is thus a major mistake
> > to
> > write anything in any other langage than english in a source file.
> > It makes the code more confusing and requires a constant mind effort for
> > the
> > reader: I am french, I read, write and speak english fluently and I have
> > been
> > working on C code with French comments -> that was EVIL.
> > (perhaps the code was simply really bad but...)
> >
> >
> > Mathieu
> >
> > >
> > > Philippe
> > >
> > > _______________________________________________
> > > gnome-devel-list mailing list
> > > gnome-devel-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/gnome-devel-list
> >
> > --
> > Mathieu Lacage <mathieu eazel com>
> >
> > _______________________________________________
> > gnome-devel-list mailing list
> > gnome-devel-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnome-devel-list
--
Mathieu Lacage <mathieu eazel com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]