/utils/loadDictionary
The loadDictionary module exports a default method to load a language dictionary.
- Source
Methods
(inner) loadDictionary(languageCode)
The method will fetch a json language dictionary from the public directory and merge the language object into the mapp.dictionaries.
Parameters:
Name | Type | Description |
---|---|---|
languageCode | string | The language code for the dictionary to be loaded. |
- Source