Re: Sqwebmail roadmap

Sam Varshavchik <[email protected]>
Newsgroups gmane.mail.sqwebmail
Message-ID <[email protected]>
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.
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBAhvk9x9p3GYHlUOIRAmBoAJ9L21op0jlpzu4gXuHMaEn36uDWHQCffko0
AIwY8Lt2qEBoVOWAVlrrBwY=
=AewJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.