Skip to Content
author's profile photo
Former Member

Where to find the Browsers language setting?

Hello everybody!

I need to get the browser language setting from the portal environment. Does anybody know in which object it`s stored?

I tried the IUser object with the getLocale() method. But I receive only values, if a language is specified in the portal customization. Though not the language setting of the browser...

Any ideas? Thanks in advance.

Kind regards, Jens

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Feb 21, 2004 at 09:53 PM

    com.sapportals.portal.prt.component

    Interface IPortalComponentRequest

    getLocale

    public java.util.Locale getLocale()Retrieves the Locale associated with this request.

    Returns:

    The Locale of this request or null if none was determined.

    Add comment
    10|10000 characters needed characters exceeded