[jira] Commented: (DOXIA-277) Specify the language identification
[ http://jira.codehaus.org/browse/DOXIA-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162293#action_162293 ] Dennis Lundberg commented on DOXIA-277: --- 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. 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
[jira] Commented: (DOXIA-277) Specify the language identification
[ http://jira.codehaus.org/browse/DOXIA-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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 localesse/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