Skip to content

LocalizedText

Canonical path: o6.LocalizedText

LocalizedText

OPC UA LocalizedText: text together with its IETF language tag.

The locale is part of the value's identity rather than metadata, so two LocalizedText values with the same text and different locales are not equal. Constructible from text alone, from a (locale, text) pair, from another LocalizedText, or from the "locale:text" shorthand, which splits at the first colon.

See LocalizedText.

Attributes

locale property

locale

text property

text

Functions

__init__

__init__() -> None
__init__(lt: LocalizedText) -> None
__init__(text: str) -> None
__init__(locale: str, text: str) -> None
__init__(*args, **kwargs)