Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Language of the browser
Language of the browser [message #1852116] Fri, 29 April 2022 18:32 Go to next message
Dmitry Dukhov is currently offline Dmitry DukhovFriend
Messages: 160
Registered: February 2013
Senior Member
Stupid question but
How to know browser's locale?
Dmitry
Re: Language of the browser [message #1852161 is a reply to message #1852116] Tue, 03 May 2022 05:48 Go to previous messageGo to next message
Sebastian Habenicht is currently offline Sebastian HabenichtFriend
Messages: 37
Registered: January 2013
Member
Hi Dmitry,

- the org.eclipse.rap.rwt.client.service.ClientInfo service provides basic information about the client, which includes the client's preferred locale and accepted locales.
- org.eclipse.rap.rwt.RWT.getLocale (shortcut for UISession.getLocale()) returns it as well, but based on the UISession; it also takes other settings into account (see the java doc for the order).

Regards,
Sebastian
Re: Language of the browser [message #1852169 is a reply to message #1852161] Tue, 03 May 2022 14:01 Go to previous message
Dmitry Dukhov is currently offline Dmitry DukhovFriend
Messages: 160
Registered: February 2013
Senior Member
Thank you very much
That's what I was looking for
Previous Topic:RAP e4 bundles and Maven Central
Next Topic:/ui should work, but does not. But //ui does work?
Goto Forum:
  


Current Time: Wed Sep 28 20:21:51 GMT 2022

Powered by FUDForum. Page generated in 0.01954 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top