Skip to content

API reference / @localizer/translate / SplitStructure

Type Alias: SplitStructure<K, V>
experimental

SplitStructure<K, V> = { [locale in LocaleCode]?: SplitStructurePartial<K, V> }

Defined in: types/dictionary.ts:98

Represents a structure for organizing translations or data split by locale.

Type Parameters

Type ParameterDescription
K extends stringThe type of the keys used in the structure.
VThe type of the values associated with the keys.