# Package org.springframework.web.servlet.i18n

@NonNullApi @NonNullFields package org.springframework.web.servlet.i18n
Locale support classes for Spring's web MVC framework. Provides standard LocaleResolver implementations, and a HandlerInterceptor for locale changes.

Related Packages
Package
Description
org.springframework.web.servlet
Provides servlets that integrate with the application context infrastructure, and the core interfaces and classes for the Spring web MVC framework.
Classes
Class
Description
AbstractLocaleContextResolver
Abstract base class for `LocaleContextResolver` implementations.
AbstractLocaleResolver
Abstract base class for `LocaleResolver` implementations.
AcceptHeaderLocaleResolver
`LocaleResolver` implementation that looks for a match between locales in the `Accept-Language` header and a list of configured supported locales.
CookieLocaleResolver
`LocaleResolver` implementation that uses a cookie sent back to the user in case of a custom setting, with a fallback to the configured default locale, the request's `Accept-Language` header, or the default locale for the server.
FixedLocaleResolver
`LocaleResolver` implementation that always returns a fixed default locale and optionally time zone.
LocaleChangeInterceptor
Interceptor that allows for changing the current locale on every request, via a configurable request parameter (default parameter name: "locale").
SessionLocaleResolver
`LocaleResolver` implementation that uses a locale attribute in the user's session in case of a custom setting, with a fallback to the configured default locale, the request's `Accept-Language` header, or the default locale for the server.