For the record...
-------- Original Message --------
Subject: rest2web language-code support patch (was: rest2web question)
Date: Tue, 17 Nov 2009 17:02:00 +0100
From: Sébastien Gross <seb@...>
To: Michael Foord <fuzzyman@...>
On Sat, Jul 04, 2009 at 09:02:59PM +0100, fuzzyman@... wrote:
> Hello Sébastien,
> I'm afraid I've never done any work on internationalising rest2web and
> those strings are hard-coded in the source code.
I hacked rest2web in order to add a "language-code" directive in the
restindex section. The motivation for this patch was to generate pages
with the appropriate translation of some default texts such as
"Contents" or admonition title.
Usage is quite simple, just add "language-code: <ISO CODE>" in the
restindex section of any file.
The default language (if no "language-code" directive is found) is "en"
Let me know if something goes wrong with that patch.
Get latest updates about Open Source Projects, Conferences and News.