Description

When using the MoinMoin Render as DocBook action, the generated DocBook code does not include information about the document language, even if this information is provided on the page (#language xx).

As this element is missing, all texts generated by the DocBook parser will be in English (e.g. "Table of Contents" instead of "Table des matières", "Chapter" instead of "Chapitre", etc.).

Steps to reproduce

  1. Use render as DocBook action on a page with a #language fr header.

  2. The root element (article) does not include a lang="fr" attribute.

Example

Component selection

Details

MoinMoin Version

1.6.3

OS and Version

Debian Linux / Stable

Python Version

2.4.4

Server Setup

Lighttpd + SCGI + WSGI

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

fr

Workaround

Add the missing information manually :)

<article lang="fr">

Discussion

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/DocBookRenderingIgnoreLanguageInformation (last edited 2008-08-05 22:03:55 by LSt-Amand-152-33-37-161)