Package org.apache.sling.i18n
@Version("2.3.0")
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.TheJakartaRequestLocaleResolverservice interface may be implemented by a service registered under this name to allow the resolution of the requestLocaleto apply.Deprecated.TheJakartaRequestLocaleResolvershould be used instead.Deprecated.useJakartaRequestLocaleResolverinsteadTheResourceBundleProviderservice interface defines the API for a service, which is capable of returnedResourceBundlefor given anyLocale.
DefaultJakartaLocaleResolverinstead