[
https://issues.apache.org/jira/browse/DERBY-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439480#comment-13439480
]
Knut Anders Hatlen commented on DERBY-5909:
-------------------------------------------
I think there are two things that must be fixed:
1) The ditamap source files, from which the toc.html files are generated,
should have an xml:lang attribute in their <map> elements (the DTD for map says
xml:lang is allowed).
2) map2htmtoc.xsl must be updated to check for xml:lang in <map> (currently, it
assumes the source is structured like a dita file, probably because of copy and
paste from dita2htmlImpl.xsl, and it won't find the attribute in the <map>
element, even if it's there).
> The lang attribute in toc.html always says 'en-us'
> --------------------------------------------------
>
> Key: DERBY-5909
> URL: https://issues.apache.org/jira/browse/DERBY-5909
> Project: Derby
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 10.8.2.2, 10.9.1.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Minor
>
> The lang and xml:lang attributes in the table of content (toc.html) files in
> all the manuals say that the language is 'en-us'. In the Japanese and
> Brazilian Portuguese translations they should say 'ja' and 'pt-br' instead.
> In the topics, however, the correct language is specified.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira