Hi,

Le 06/09/2011 12:42, [email protected] a écrit :
> On 06.09.2011 12:26, [email protected] wrote:
>> Hei,
>>
>> as far as I am aware we don't promote the use of -18n option.
>> However, I am using it for development to switch between languages (faster
>> than dUser) and would prefer keeping it.
> could you elaborate why it is faster? in eclipse it is exactly the same 
> effort to add/change a parameter for the jre or the main class in the run 
> configuration.
I agree that the jvm option is generally better (makes sure it is 
applied averywhere).
But i18n option may have some use case (if openjump is launched from a 
running jvm).
Moreover, if translations with the i18n option are not complete, it may 
come from a design problem (i18n strings are not always initialized in 
the same place, and I think most of them are initialized at class 
loading time (static fields, which may not be the best way to have a 
good control of it)

Michaël

  ..ede
>> cheers from the Airport (on my way back to Calgary),
>> stefan
>>
>>> On 05.09.2011 23:58, Michaël Michaud wrote:
>>>> Ede,
>>>>
>>>> Your patch works fine with java -Duser.language and -Duser.country
>>>> options, thanks.
>>>>
>>>> I don't know why it does not work with OpenJUMP -I18N option
>>> oj uses Locale.getDefault() to get to know the current language setting.
>>> -I18N is a openjump, not jre parameter and i was under the impression it
>>> was deactivated very long ago.
>>>
>>> just checked the source.. it is actually -18n and it still works. but i
>>> feel that we should retire this mechanism because
>>>
>>> - setting the jre locale is much more standard and compatible
>>> - i18n setting kicks in too late now for my font setting code to change
>>> the font
>>> - confuses the user to have two different mechanisms
>>> - lot's of ugly code (_ array splitting) that does what java locale API
>>> already can
>>>
>>> regards ede
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Special Offer -- Download ArcSight Logger for FREE!
>> Finally, a world-class log management solution at an even better
>> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
>> download Logger. Secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsisghtdev2dev
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Jump-pilot-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>


------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to