Localize Metadata
For data localization, some of the most visible metadata entities have an additional DisplayName field, that is used when rendering the user interface instead of the Name field.
FintechOS Studio comes with two predefined languages: en-GB and ro-RO; where en-GB is the default language.
The following attributes are marked localizable by default:
| entity | displayName |
|---|---|
| entity | displayCollectionName |
| attribute | displayName |
| action | displayName |
| actiongroup | displayName |
| optionset | displayName |
| optionsetitem | displayName |
| entityformheaderitem | label |
| entityformsection | displayName |
| entityviewcolumn | label |
| customAction | displayName |
| relationship | displayName |
| report | displayName |
At metadata attribute level, there is a new property IsLocalizable. If the checkbox is ticked on Text attributes, the system automatically creates additional fields in the database for each application language except for the default one (that is, en-GB).
The primary attributes are not localizable.
To localize metadata, follow these steps:
- Provide the value for the display name in en-GB.
- Switch to the language in which you want to localize resources. If the Debug mode has been activated, the value to be localized is marked with the question mark.
- Replace the en-GB value displayed in the Display Name field with the one corresponding to the language you want to localize.
- Click Save and close.
The localization updates are saved in the database for the field corresponding to the current language selected from the User Settings. Inserts will save the data in all additional fields for each localizable attribute.