[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: i18n problems with comments from multiple files

From: Christian Neumair
Subject: Re: i18n problems with comments from multiple files
Date: Fri, 07 Nov 2003 14:38:52 +0100

Am Do, den 06.11.2003 schrieb Bruno Haible um 16:46:
> Christian Neumair wrote:
> > Over at AbiWord we have some serious problems:
> > Comments are enourmous important for us since they contain keywords for
> > our i18n mechanism that e.g. influence our i18n statistics.
> > Today I tracked down a problem:
> > If multiple files contain a comment that affects the same string,
> > xgettext only writes the first file's comment into the resulting file,
> > which means
> > test1.h:
> > /* first comment */
> > N_("some string");
> >
> > test2.h:
> > /* second comment */
> > N_("some string");
> > being in POTFILES.in will result in a POT file containing only "first
> > comment" as some string's comment.
> > Is this supposed to be a bug or am I doing something wrong?
> It was supposed to work like it does, to avoid problems when the same
> comment occurs in front of each occurrence of the string. But since you say
> that it is a serious problem for you, I can change xgettext so that it
> extracts the second comment as well if it is not identical to the first
> comment.
Thanks Bruno!
This sounds like a great proposal that saves us a hacky extra script for
i18n. And of course it is a good thing for other software projects, too
- since their can be multiple explanations for one msgid.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]