Interface LocalizationConfig

interface LocalizationConfig {
    language?: string;
    vocabularies?: Vocabularies;
}

Properties

language?: string

Sets the desired language, and falls back to 'en' if there is no vocabulary for the desired language. Setting it to "auto" will enable language detection from the browser's locale.

vocabularies?: Vocabularies

A map of language to CustomVocabulary definitions. Can be used to overwrite default translations and add custom strings or additional languages.