|Sorting order for index entries [message #623576]
||Tue, 20 October 2009 16:22
| Shengyu Bao
Registered: October 2009
We are using Eclipse help system to provide on-line help for our applications on non-Windows platforms. Except for English, we also provide help in Simplified Chinese/Japanese/German.
One problem we have with the help system is that the index terms are sorted in binary order of UTF8 characters. Preferably, the Chinese terms are sorted in PINYIN, the Japanese terms are sorted in YOMI. If that is hard to do, it is OK to sort them in their own Java locale. Is there a way to do this?
The way how we currently solve this problem (with eclipse 3.3.1) is to recompile org.eclipse.help and org.eclipse.help.webapp plugins and change the internal IndexComparater class to use Java collator.compare function.
Thanks in advance.
Powered by FUDForum
. Page generated in 0.01624 seconds