Skip to content

AIDC Toolkit / Core / i18nAssertValidResources

Function: i18nAssertValidResources()

i18nAssertValidResources(enResources, lng, lngResources, parent?): void

Defined in: i18n.ts:75

Assert that language resources are a type match for English (default) resources.

Parameters

enResources

object

English resources.

lng

string

Language.

lngResources

object

Language resources.

parent?

string

Parent key name (set recursively).

Returns

void