I18nCatalogRendererComponent
Renders the value(s) of an i18n catalog field (classification i18n:catalog[one, two, three]).
Catalog fields store the technical value, so the label has to be resolved from the localizations. This uses the same label keys as the yuv-i18n-catalog form element: for property name status and value open the key is catalog:status:open_label. Values without a matching localization fall back to the technical value.
Component Metadata
Section titled “Component Metadata”Selector: yuv-i18n-catalog-renderer
Standalone: No
Inputs
Section titled “Inputs”Type: Record<string, unknown> | U
propertyName
Section titled “propertyName”Type: string
Required: Yes
Type: T | null
Required: Yes
Properties
Section titled “Properties”Type: unknown
Default Value: computed<string>(() => \{ this.#currentLang(); const value = this.value(); if (value === null || value === undefined) return ''; // Catalog fields may be multi-select, in which case the value is an array of technical values. return (Array.isArray(value) ? value : [value]).map((val) => this.#translateValue(val)).join(', '); \})