Web site translation through PHP function

Jacob Sparre Andersen sparre at nbi.dk
Tue Feb 19 15:14:08 UTC 2002

Stephan Kulow wrote:

> xml2pot relies on the semantics of the docbook DTD,
> while there is nothing like that in HTML - at least not
> that well defined.

There is a very well defined HTML DTD. The problem is that
some people seem not to care about following it.

> And HTML isn't as easy to parse, so it would be a
> rewrite.

It ought to be possible, if not trivial, to modify some of
the example stylesheets that come with the DocBook DTD to
generate ".pot" files.

Warning: Dates in calendars are closer than they appear.

More information about the kde-www mailing list