Marcin Owsiany writes:

On Mon, Apr 19, 2004 at 09:47:26PM -0400, Sam Varshavchik wrote:
C) Put together a tool that reparses all the translatable strings and places
them into a dummy source file that's fed to gettext in order to generate the pot template files.

AFAIK there's no need for "C". xgettext is flexible enough to create a pot file directly from almost any type of file (not necessarily C code). Of course you neet to tell it how the strings are demarcated.

It's not going to work. HTML templates are partially edited in an HTML editor, specifically Amaya.

At this point in time this is not strictly true. sqwebmail-specific clutter in the HTML files makes any HTML editing mostly useless. I use Amaya mostly now to autoindent all the HTML and to verify that all the tags are correctly closed.

However this means that the translatable strings may span multiple physical lines, and have random arbitrary whitespace in the middle.

This cannot be handled by gettext directly.


Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to