Package org.opencms.i18n
package org.opencms.i18n
Classes to handle internalization (i18n) and locale selection in OpenCms.
- Since:
- 6.0.0
- See Also:
-
ClassDescriptionConvenience base class to access the localized messages of an OpenCms package.Parses the HTTP
Accept-Language
header as per section 14.4 of RFC 2068 (HTTP 1.1 header field definitions) and creates a sorted list of Locales from it.Struct representing an element of the HTTPAccept-Language
header.Default implementation of the locale handler.The OpenCms CmsEncoder class provides static methods to decode and encode data.Bundle of i18n setting to be used to setup a new request context.A list based resource bundle that with increased visibility of some key methods.Simple comparator implementation for locales, that compares the String value of the locales.Represents a group of resources which are locale variants of each other.Helper class for manipulating locale groups.Enum representing whether two resources can be linked together in a locale group.Manages the locales configured for this OpenCms installation.Contains a localized message key, it's arguments and a
.I_CmsMessageBundle
Used to signal issues with the localization support, for example during localized messages access.Reads localized resource Strings from ajava.util.ResourceBundle
and provides convenience methods to access the Strings from a template.A lookup table used to find out which VFS based message bundles (XML/property bundles) contain a given key.Provides access to the localized messages for several resource bundles simultaneously.Interface to provide fallback keys to be used when the message for a key is not found.A property based resource bundle with increased visibility of some key methods.Message key fallback handler used to enable reuse of localization keys for editor labels.Message key fallback handler which replaces a given set of prefixes with alternative prefixes.Resource bundle loader for property based resource bundles from OpenCms that has a flushable cache.Advanced locale handler allowing single tree localization.Loads message bundles from .properties files in the VFS.Manages message bundles loaded from the VFS.Data holder for a base name and locale of a message bundle.Data class containing the parameters for a VFS-based resource bundle.Resource bundle which loads its data from a VFS resource.Implementors of this interface are responsible for actually loading the data from the VFS.A locale handler returns the locale name to use for the given request context.Utility interface for generating localized messages for internal OpenCms operations.Interface which represents a message independent of the locale.Increases the visibility of some key methods of aResourceBundle
.Convenience class to access the localized messages of this OpenCms package.