|
|
|
|
Re: change locale at runtime [message #541493 is a reply to message #541489] |
Mon, 21 June 2010 11:05 |
Sven Krause Messages: 119 Registered: July 2009 |
Senior Member |
|
|
Hi Tom,
Thanks for explanation. That sounds much better. It's always a pleasure
to talk with you guys...
Sven
Am 21.06.2010 12:25, schrieb Tom Schindl:
> Well in 3.6 the extension registry got enhanced to deal with multiple
> locales at once but the workbench *doesn't* has a concept that listens
> to changes of the locale and refresh the (complete) UI.
>
> When looking at e4 the situation is better (though we haven't
> implemented NLS-stuff yet and probably won't in 4.0) the underlying
> Application-Model is accessible to everyone and so updating the Labels
> of Menus, ... is quite easy.
>
> All you need to do in e4 is to traverse the Application-Model and look
> for elements of Type MUILabel and set the new label-Attribute :-) but
> I'm not sure e4 is an option for you.
>
> Tom
>
> Am 21.06.10 12:11, schrieb Sven Krause:
>> Hi Tom,
>>
>> thats very bad. Is there no concept for such things?
>>
>> Sven
>> Am 21.06.2010 12:00, schrieb Tom Schindl:
>>> Not really because most parts of the UI don't listen to such changes
>>> (e.g. all the contributions like views, menus, ...).
>>>
>>> Tom
>>>
>>> Am 21.06.10 11:44, schrieb Sven Krause:
>>>> Hi there,
>>>>
>>>> is it possible to switch the locale at runtime within RCP apps?
>>>>
>>>> Sven
>>>
>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03091 seconds