You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2012/08/22 15:08:38 UTC
[jira] [Created] (DERBY-5909) The lang attribute in toc.html always
says 'en-us'
Knut Anders Hatlen created DERBY-5909:
-----------------------------------------
Summary: 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.9.1.0, 10.8.2.2
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
[jira] [Commented] (DERBY-5909) The lang attribute in toc.html
always says 'en-us'
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (DERBY-5909) The lang attribute in toc.html
always says 'en-us'
Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442434#comment-13442434 ]
Kim Haase commented on DERBY-5909:
----------------------------------
Thanks very much for catching this problem, Knut.
> 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
> Fix For: 10.10.0.0
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5909) The lang attribute in toc.html always
says 'en-us'
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-5909:
--------------------------------------
Fix Version/s: 10.9.1.1
10.8.2.3
Backported to 10.9 (revision 1378858) and 10.8 (revision 1378860).
> 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
> Fix For: 10.8.2.3, 10.9.1.1, 10.10.0.0
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5909) The lang attribute in toc.html always
says 'en-us'
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-5909:
--------------------------------------
Issue & fix info: Patch Available
> 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
[jira] [Closed] (DERBY-5909) The lang attribute in toc.html always
says 'en-us'
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen closed DERBY-5909.
-------------------------------------
> 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
> Fix For: 10.8.2.3, 10.9.1.1, 10.10.0.0
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (DERBY-5909) The lang attribute in toc.html
always says 'en-us'
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen resolved DERBY-5909.
---------------------------------------
Resolution: Fixed
Fix Version/s: 10.10.0.0
Issue & fix info: (was: Patch Available)
Committed revision 1377616.
> 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
> Fix For: 10.10.0.0
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5909) The lang attribute in toc.html always
says 'en-us'
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ 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