Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Language of the browser
Language of the browser [message #1852116] Fri, 29 April 2022 14:32 Go to next message
Eclipse UserFriend
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 01:48 Go to previous messageGo to next message
Eclipse UserFriend
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 10:01 Go to previous message
Eclipse UserFriend
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: Sat May 24 10:02:35 EDT 2025

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

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

Back to the top