root.localizationInfo object

Allows the specification of a default language, and pointers to additional language files. See localization.

Properties that reference this object type:

Syntax

{
  "defaultLanguageTag": "{string}",
  "defaultLanguageFile": "{string}",
  "additionalLanguages": [
    {
      "languageTag": "{string}",
      "file": "{string}"
    }
  ]
}

Properties

defaultLanguageTag

The language tag for the strings in this top-level app manifest file.

Type
string

Required

Constraints

Supported values
The value must be a language tag, like en-us.

defaultLanguageFile

A relative file path to the .json file that contains the strings. If unspecified, strings are taken directly from the app manifest file. A default language file is required for agents that support multiple languages.

Type
string

Required

Constraints
Maximum string length: 2048.

Supported values

additionalLanguages

An array of objects, each with properties to specify additional language translations.

Type
Array of additionalLanguages

Required

Constraints
Array items must be unique.

Supported values

Examples

{
    "localizationInfo": {
        "defaultLanguageTag": "en",
        "defaultLanguageFile": "en.json",
        "additionalLanguages": [
            {
                "languageTag": "es",
                "file": "es.json"
            }
        ]
    }
}