Re: variables markers: allowing x-* markers

From:

Bruno Haible

Subject:

Re: variables markers: allowing x-* markers

Date:

Sun, 21 Oct 2007 17:11:10 +0200

User-agent:

KMail/1.5.4

Hi,
Dwayne Bailey wrote:
> You can currently only use markers defined in Gettext itself such as
> c-format and no-c-format. It would be useful in cases where PO is being
> used outside of the normal Gettext domain to allow user defined markers
> such as x-oo-format. This simple addition would allow Gettext to
> operate normally and other tools that can manipulate these files to be
> able to execute valid operations based on the information.
How would such user-defined markers be handled during msgmerge's operation?
If the marker is to be copied from the old PO file to the new PO file, you can
put this marker into the translator comments (line prefix '# ').
If the marker is to be copied from the POT file to the new PO file, you can
put this marker into the extracted comments (line prefix '#.').
If the marker needs special handling during merge, please tell me about it;
then there is a chance that it becomes a '#,' flag.
Bruno