Package org.apache.sling.i18n
@Version("2.2.1")
package org.apache.sling.i18n
-
ClassDescriptionThe
DefaultLocaleResolverresolves the request's Locale by calling theServletRequest.getLocales()method, which generally will be the Servlet Container's implementation of this method and thus be based on the client'sAccept-Languageheader.Deprecated.TheRequestLocaleResolverservice interface may be implemented by a service registered under this name to allow the resolution of the requestLocaleto apply.TheResourceBundleProviderservice interface defines the API for a service, which is capable of returnedResourceBundlefor given anyLocale.
RequestLocaleResolvershould be used instead.