# Package org.springframework.context.i18n

@NonNullApi @NonNullFields package org.springframework.context.i18n
Abstraction for determining the current Locale, plus global holder that exposes a thread-bound Locale.

Related Packages
Package
Description
org.springframework.context
This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API.
Class
Description
LocaleContext
Strategy interface for determining the current Locale.
LocaleContextHolder
Simple holder class that associates a LocaleContext instance with the current thread.
LocaleContextThreadLocalAccessor
Adapt `LocaleContextHolder` to the `ThreadLocalAccessor` contract to assist the Micrometer Context Propagation library with `LocaleContext` propagation.
SimpleLocaleContext
Simple implementation of the `LocaleContext` interface, always returning a specified `Locale`.
SimpleTimeZoneAwareLocaleContext
Simple implementation of the `TimeZoneAwareLocaleContext` interface, always returning a specified `Locale` and `TimeZone`.
TimeZoneAwareLocaleContext
Extension of `LocaleContext`, adding awareness of the current time zone.