Resource bundles type
Describes the language locales and locations of the locale properties file locations that you use when you globalize your app.
The following table describes the Resource_bundles
block fields in the
manifest.json
file.
Field | Required | Type | Description |
---|---|---|---|
locale | Yes | String | Language locale code |
bundles | Yes | String | Path to the globalization resource bundle properties files. Files are stored in the /app/static/resources/ folder. Properties files must use the following naming convention: application_<LANG>.properties. |
The following code is a sample resource_bundles
block from the
manifest.json file:
...
"resource_bundles": [
{
"locale": "en_US",
"bundle": "resources/hello_en_US.properties"
},
{
"locale": "es",
"bundle": "resources/hello_es.properties"
},
{
"locale": "fr",
"bundle": "resources/hello_fr.properties"
},
{
"locale": "en",
"bundle": "resources/hello_en.properties"
}
],
...
Text strings for globalization are stored as key/value pairs in Java format properties files. If you configured text strings for globalization, they appear in IBM® QRadar® when the user sets their preferences for the relevant locale.