- Since:
-
9.4.0
Type Definitions
-
LanguageConfig
-
Languages supported. Note the key for the locale code uses an underscore, while the name of the translation file uses a dash.
Type:
- Record.<string, SingleLanguageConfig>
- Since:
-
9.4.0
Example
Sample language configuration:
languages: { en_US: { modulePath: "./modules/languages/en-US.js" }, es_MX: { modulePath: "./modules/languages/es-MX.js" }, fr_FR: { modulePath: "./modules/languages/fr-FR.js" } } -
SingleLanguageConfig
-
Configure specific language. Note the key for the locale code uses an underscore, while the name of the translation file uses a dash.
Type:
- Since:
-
9.4.0
