[ http://jira.codehaus.org/browse/DOXIA-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162313#action_162313 ]
Vincent Siveton commented on DOXIA-277: --------------------------------------- The Doxia API (forget the Maven integration) misses this feature in xdoc, docbook and xhtml Yes it should be dynamic, I imagine this integration with Maven: - the Maven site plugin allows i18n by directories and with site.xml/site_LANG.xml using the _locales_ parameter. The default language id could be the default locale language for the default site, and the locale language from the language dir. So, you could defined <locales>se</locales> and all your documents in the default site will be tagged as Swedish. - known limitation: in a given site (default or i18n dir) you *should* have the same language in all documents inside. > Specify the language identification > ----------------------------------- > > Key: DOXIA-277 > URL: http://jira.codehaus.org/browse/DOXIA-277 > Project: Maven Doxia > Issue Type: Improvement > Components: Module - Xhtml > Affects Versions: 1.1 > Reporter: Vincent Siveton > > Actually, the sink generates: > {noformat} > <html xmlns="http://www.w3.org/1999/xhtml"> > {noformat} > We need to add the language identification i.e. > {noformat} > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira