[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[dsdp-tm-dev] ICU4J and Target Management
|
Hi all,
we've had some thoughts about ICU4J in the committer
meeting recently.
You may want to know that I just checked in the first
usage of ICU4J in RSE: it's now used in the
org.eclipse.rse.ui plugin,
SystemWidgetHelpers.sortSystemTypesByLabel() method,
in order to sort translated system type labels
correctly according to international unicode rules.
I had to change META-INF/MANIFEST.MF in order to
import-package com.ibm.icu.text to do this.
We'll need to make more use of ICU4J going forward,
in order to correctly sort, show date formats, do
message replacing and handle BIDI locales. A good
starting point for understanding how to migrate
current code for ICU4J is in
http://wiki.eclipse.org/index.php/ICU4J
The rule of thumb, however, should be to try and
use ICU4J only in the UI code, for user-visible
translated labels and stuff. We should try and
keep our core model free of translations where
possible.
Cheers,
--
Martin Oberhuber
Wind River Systems, Inc.
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm