[rules-dev] Eclipse IDE BRMS properties files

Hitoshi Ozawa htshozawa at gmail.com
Tue Feb 9 03:16:02 EST 2010


Thanks for the information. We just need L10N files with different
language suffix.

H.Ozawa

2010/2/9 Michael Neale <michael.neale at gmail.com>:
> I am not sure what package - I would think the UI elements are spread over a
> few packages, the best bet is just to pick one and start with it, and then
> follow from there to other UI strings.
> What I did was let the IDE find all the strings, and then go through and
> replace concatenations with formatted strings:
> MessageFormat.format("hello {0}", "world") instead of "hello " + world
> (using java.test.MessageFormat).
> Once I had done that, only THEN did I go through and i18n things (if it
> wasn't a UI element I just put the //NON-NLS comment to tell the tools to
> ignore it from then on) .
> In terms of i18n conventions - common sense works - the usual properties
> files/naming convention of course, nothing crazy, just load it up as a
> resource bundle (which works in GWT as well, but runtime slightly
> different). IDEA gives long names to keys, eclipse seems to use short ones
> (I prefer the key to be readable in code - so you have some idea what the
> message says).
> So Kris - could you list a few packages that Hitoshi might want to look at
> to start i18n?
> I wonder how eclipse chooses what bundle to use - do we have to have
> multiple editions of the plugin in the various languages that people
> choose?
>
> On Mon, Feb 8, 2010 at 7:56 PM, Hitoshi Ozawa <htshozawa at gmail.com> wrote:
>>
>> Thought so. If everybody's busy, just tell me the packages I should be
>> looking at, I18N conventions, and directions to set up to compile. I
>> checked out the Tool's directory but not sure which ones I should be
>> modifying.
>> FYI, I I18Ned Mule and their IDE as well as some WS02 software.
>>
>> H.Ozawa
>>
>> 2010/2/8 Michael Neale <michael.neale at gmail.com>:
>> > The Eclipse IDE has not been i18n'ed as yet - (someone correct me if I
>> > am
>> > wrong).
>> > Kris - how long do you think it would take someone to do this? I think
>> > with
>> > Guvnor took me 2 days (spread out over 4 as I did other things to avoid
>> > boredom). Mostly it was correcting concatenated strings to use a format
>> > string.
>> > Any volunteers? (I might have a look at it if no one else does).
>> >
>> > On Sun, Feb 7, 2010 at 11:38 PM, Hitoshi Ozawa <htshozawa at gmail.com>
>> > wrote:
>> >>
>> >> I'm trying to translate the properties files for the Drools BRMS
>> >> portion of the Eclipse IDE but can't find the properties files nor
>> >> able to grep the Strings.
>> >> Would greatly appreciate if you'll direct me to finding the where the
>> >> Strings are defined.
>> >>
>> >> Thanks.
>> >> H.Ozawa
>> >> _______________________________________________
>> >> rules-dev mailing list
>> >> rules-dev at lists.jboss.org
>> >> https://lists.jboss.org/mailman/listinfo/rules-dev
>> >
>> >
>> >
>> > --
>> > Michael D Neale
>> > home: www.michaelneale.net
>> > blog: michaelneale.blogspot.com
>> >
>> > _______________________________________________
>> > rules-dev mailing list
>> > rules-dev at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/rules-dev
>> >
>> >
>> _______________________________________________
>> rules-dev mailing list
>> rules-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
>
> --
> Michael D Neale
> home: www.michaelneale.net
> blog: michaelneale.blogspot.com
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>


More information about the rules-dev mailing list