[ 
https://issues.apache.org/jira/browse/DERBY-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Knut Anders Hatlen updated DERBY-5909:
--------------------------------------

    Attachment: d5909-1a.diff

The attached patch seems to fix the problem. It makes map2htmtoc.xsl get the 
language from the <map> element (instead of the child of the non-existing 
<dita> element as it currently does), and adds an xml:lang attribute to the 
<map> element of all the ditamap files.

I diffed the original HTML docs with the new ones, and only the toc.html files 
of the translated manuals were changed as a result of this fix.
                
> 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
>         Attachments: d5909-1a.diff
>
>
> 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

        

Reply via email to