This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
From 3.6 release on, the help indexes are sorted. I guess this is the sepc for new help system (javehelp 2). This sorting algorithm is OK for English. But in case on ja locale, it might make the displaying go wrong. Because Japanese dictionary sorting does not depend on the font code but the Japanese pronunciation. The same Japanese pronunciation can be described by the 3 types of characters. (Hiragana, Katakana and Kanji) So, when sorting Japanese messages by its font code, the sorting is out of truth. I think the sorting function or spec is good for English. But for Japanese, not. Japanese localizers beautify *-idx.xml for the index so that messages are displayed correctly. One of solution for it is: stopping sorting indexes when ja locale. It means keeping the xml structure for displaying.
The reason is that SortMerge mergetype is used for index in core/javahelp/src/org/netbeans/modules/javahelp/resources/masterHelpSet.xml. I think you can brand this file and use AppendMerge for Index. Let me know if it works so I can close this issue.
Hi Marek, I know masterHelpSet.xml is one of localizable files. But I am not familiar with it. I do not see the xml description for sorting in the original file, so I can not edit the ja file to stop sorting. If you have or you can point any document for it, please let me know. Yasuhiro
in core/javahelp/src/org/netbeans/modules/javahelp/resources/masterHelpSet.xml Instead of: <view mergetype="javax.help.SortMerge"> <name>Index</name> <label>Index</label> <type>javax.help.IndexView</type> </view> use <view mergetype="javax.help.AppendMerge"> <name>Index</name> <label>Index</label> <type>javax.help.IndexView</type> </view> You can see http://java.sun.com/products/javahelp/helpset_2_0.dtd and/or Users's Guide of Java Help section 4.17 (or search for 'mergetype' in it).
Thank you, Marek. I verified and understood the different behavior between SortMerge and AppendMerge. After discussing the issue with l10n team, we probably use SortMerge from next release on. You can close the issue
Sorry for my typo. we probably use SortMerge from next release on. ^^^^^^^^^ SortMerge -> AppendMerge Yasuhiro
Ok. Closing as WONTFIX as it will be solved by branding of masterHelpSet.xml.
v/c