preferences
Defines global language and number format preferences for the Granta MI (One MI) home page and for all integrated apps. A change to global preference made in one application will change it everywhere.
Syntax
"preferences": {
"language": {
"userEditable":true|false,
"defaultValue":"language_code",
},
"numberFormatting": {
"userEditable":true|false,
"defaultValue": {
"groupSeparator": [ "<default_symbol>", "<symbol_2>", "<symbol_3>", ... ],
"decimalSeparator": [ "<default_symbol>", "<symbol_2>", ...]
}
}
}
language
Specifies the language for the application user interface (UI). Supported languages are: English, French, German, Russian, Japanese, Korean, Chinese.
| Name | Value | Description |
|---|---|---|
userEditable |
boolean | A flag that specifies whether application users can change the default
UI language in the Edit Global Preferences UI. When true,
users can choose a different value. When false, users can
see the default value but not change it. |
| defaultValue | string | Specifies the language code for the default UI language. One of: en (English), fr (French), de (German), ru, (Russian), ja (Japanese), ko (Korean), cn (Chinese). |
numberFormatting
Specifies number format settings.
| Name | Value | Description |
|---|---|---|
userEditable |
boolean | A flag that specifies whether application users can change the default number format settings in the Edit Global Preferences UI. When true, users can choose a different value, and when false, users can see the default value but not change it. |
defaultValue |
JSON object | Specifies the available group separator and decimal separator options, and the default value. |
groupSeparator |
array |
Specifies a list of the symbols that can be used as the thousands separator in digit grouping, for example, a comma, space, period, or no separator at all (empty string ""). The first symbol in the array is the default option. Example:
The choice of symbol here also affects the choice of symbol for the decimal separator, as the same symbol cannot be used for both. |
decimalSeparator |
array |
Specifies a list of the symbols that may be used to separate to separate the integer part from the fractional part of a number. For example, a period or a comma. The first symbol in the array is the default option.
The choice of symbol here also affects the choice of symbol for the group separator, as the same symbol cannot be used for both. |