getLocalization Method

Load localization JSON for a given schema and locale.

getLocalization(schemaName: string, locale: string): Promise<SchemaLocalizationJson | undefined>

@returns Promise resolving to the localization JSON, or undefined if not found

Parameter Type Description
schemaName string The name of the schema
locale string The locale identifier (e.g., "de", "fr", "es-CO")

Returns - Promise<SchemaLocalizationJson | undefined>

Promise resolving to the localization JSON, or undefined if not found

Defined in

Last Updated: 04 June, 2026