@o3r/localization
Version:
This module provides a runtime dynamic language/translation support and debug tools.
36 lines (35 loc) • 977 B
JSON
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "I18nBuilderSchema",
"title": "I18n builder",
"description": "I18n builder options",
"properties": {
"localizationConfigs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"localizationFiles": {
"type": "array",
"description": "Glob to define how to find localization json files",
"items": {
"type": "string"
}
},
"i18nFolderPath": {
"type": "string",
"description": "Folder path for the i18n folder relative to the localization json file",
"default": "i18n"
}
}
}
},
"defaultLanguageFile": {
"type": "string",
"description": "Name of the file for the default language",
"default": "en-GB.json"
}
},
"additionalProperties": false,
"required": ["localizationConfigs"]
}