Localization of Values

Localization of Values

The VEC provides a concept for the localization of string values. Every attribute that can be localized has the type of AbstractLocalizedString or one of its subclasses.

An AbstractLocalizedString consists of an ISO languageCode and a value. Attributes of this type have a multiplicity of [0..*].

In the case of a LocalizedString the attribute represents a human readable text with a specific semantic. All LocalizedString instances for a single attribute must represent the same meaning in different languages.

When a LocalizedTypedString is used, the semantics of the attribute values can be further detailed by the type attribute. For example an ItemVersion can have more than one description with a more specific semantic of each description type. In this case, all LocalizedTypedString instances for a single attribute must represent the same meaning for their type in different languages.