Localization
Libraries and Device Library objects can contain child localization objects which provide localized values for a specified language/country code.
Codes must be compliant with ISO 639-1.
Attributes
Code (Required)
The language code, compliant with ISO 639-1.
Children
A localization object can have the following children:
Markup
UDR Type:
localization
Members:
Key
Value Type
Represents
code
string
Example:
{
"udrtype": "localization",
"code": "en-gb",
"children": [
{
"udrtype": "localized",
"class": "org.esta.lib.intensity.1/dimmer",
"attribute": "name",
"value": "dimmer"
},
{
"udrtype": "localized",
"class": "org.esta.lib.intensity.1/intensity",
"attribute": "name",
"value": "intensity"
}
]
},
{
"udrtype": "localization",
"code": "de",
"children": [
{
"udrtype": "localized",
"class": "org.esta.lib.intensity.1/dimmer",
"attribute": "name",
"value": "dimmer"
},
{
"udrtype": "localized",
"class": "org.esta.lib.intensity.1/intensity",
"attribute": "name",
"value": "intensität"
}
]
}