Package org.apache.sling.i18n
@Version("2.2.1")
package org.apache.sling.i18n
-
ClassDescriptionThe
DefaultLocaleResolver
resolves 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-Language
header.Deprecated.TheRequestLocaleResolver
service interface may be implemented by a service registered under this name to allow the resolution of the requestLocale
to apply.TheResourceBundleProvider
service interface defines the API for a service, which is capable of returnedResourceBundle
for given anyLocale
.
RequestLocaleResolver
should be used instead.