Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1
-
Fix Version/s: 1.1
-
Component/s: Core, Module - Docbook Simple, Module - FO, Module - Xdoc, Module - Xhtml
-
Labels:None
-
Number of attachments :
Description
Actually, the sink generates:
<html xmlns="http://www.w3.org/1999/xhtml">
We need to add the language identification i.e.
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
The language identification needs to be dynamic to work properly, and I'm not sure it will even work with that.
Example 1
A Maven generated site with multiple languages
Doxia needs to be told which language the pages are in. For each of the non-default languages there should be no problem, because the docs are in a directory named after the language id.
Example 2
A Maven generated site in a single language - not English. We have company internal documentation in Swedish only.
How does Doxia know which language it is in? It is not mentioned in the document sources.