Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] [Proposal] Locale switching


Am 02.12.2013 16:52 schrieb "Tom Schindl" <tom.schindl@xxxxxxxxxxxxxxx>:
>
> On 02.12.13 16:49, Dirk Fauth wrote:
> > Hi,
> >
> > I worked on the LocaleChangeService with feedback from Tom. Several facts:
> >
> > 1. The LocaleChangeService is not a OSGi service, but will be created
> > via context function.
> > 2. It has additional methods for setting the Locale via String, which is
> > in respect to the TranslationService.LOCALE that is represented as
> > String also.
> > 3. There is an event fired on Locale change.
> > 4. The model update is triggered directly (so the event might not be
> > necessary, but who knows all use cases a user might have).
> > 5. The Locale needs to be set to the OSGi context and not the
> > application context, as the model seems to only checking the OSGi context.
> >
>
> Then there's something really wrong because then multi-env would not
> work appropriately!
>
> Tom
>_______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/e4-dev

Then we need to investigate on this. The current situation is because the TranslationService is operating on the service context as far as I can see.


Back to the top