public interface LocaleFacade
Modifier and Type | Method and Description |
---|---|
Locale |
getCurrentLocale()
Returns the requested locale of the current HTTP request, or default locale of the server.
|
List<Locale> |
getCurrentLocales()
Returns a list of locales indicating, in decreasing order starting with the preferred locale, the locales that
are acceptable to the client based on the Accept-Language header.
|
@Nonnull Locale getCurrentLocale()
@Nonnull List<Locale> getCurrentLocales()
Copyright © 2019 SAP SE. All rights reserved.