Translating "Table of Contents"

View: New views
2 Messages — Rating Filter:   Alert me  

Translating "Table of Contents"

by Bernhard Walle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Currently it's not possible to translate the "Table of Contents" title
into something other like "Inhaltsverzeichnis" in German with a
lang-de.conf. It's necessary to copy/edit the backend configuration
file.

Is it possible to change this? In the xhtml11.conf one could write
{toc_title} and in the lang-de.conf file toc_title="Inhaltsverzeichnis",
for example.


        Bernhard
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: Translating "Table of Contents"

by Stuart Rackham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bernhard Walle wrote:

> Hello,
>
> Currently it's not possible to translate the "Table of Contents" title
> into something other like "Inhaltsverzeichnis" in German with a
> lang-de.conf. It's necessary to copy/edit the backend configuration
> file.
>
> Is it possible to change this? In the xhtml11.conf one could write
> {toc_title} and in the lang-de.conf file toc_title="Inhaltsverzeichnis",
> for example.

I've added you suggestion, see:

http://hg.sharesource.org/asciidoc/rev/d8659d213e80

Now you can do, for example:

asciidoc -a toc  -a 'toc_title=Inhaltsverzeichnis'  test.txt


>
>
>         Bernhard
> _______________________________________________
> asciidoc-discuss mailing list
> asciidoc-discuss@...
> http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss
>

Cheers, Stuart
--
Stuart Rackham
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss