setTranslations
Configures the application's translation dictionaries.
Table of contents
Category
Value
Import
jsimport { setTranslations } from "valyrian.js/translate";Public signature
ts(defaultTranslation: Record<string, any>, newTranslations?: Record<string, Record<string, any>>): voidParameters
tsdefaultTranslation: Record<string, any>, newTranslations?: Record<string, Record<string, any>>Result
tsvoidObservable effects
Replaces the default dictionary and updates dictionaries for additional languages.