Managing Display Names for Templates
Prerequisites
When adding display names for a new language, a new entry (record) must be added for that language with the correct language ID (LANG_ID column) in the LANGUAGEMASTER table in the Canvas schema. For the changes to get applied, users must choose their primary language as the preferred language in the functional application, Modelhouse. A sample entry in the LANGUAGEMASTER table for the Arabic language is shown for reference:
APPLICATION_ID | LANG_ID | LANGUAGE | CREATED_DATE | CREATED_BY | UPDATE_DATE | UPDATE_BY | DIRECTION |
---|---|---|---|---|---|---|---|
MODELHOUSE | ar_SA | ARABIC | 2019-12-29 | MAKER | RTL |
Adding an entry for the new language in the LANGUAGEMASTER table is mandatory, without which that language will not appear in the functional application (e.g. Preferences tab in Modelhouse).
To manage the display names of the Template view type, perform the following steps.
- In Canvas Studio, click App Designer.
- Existing widgets are displayed in App Designer. Let’s use an existing Template widget, e.g. TEMPLATE_APP.
The selected widget’s configuration data appears. - Click Proceed.
- Click the Add Labels icon on the top right side of the page.
The Resource Bundle Entries page appears.
The bundle name, entered in initial App Designer screen appears automatically in the Bundle Name field and it cannot be edited. The Language drop-down list comprises of different languages and you can choose the language of your choice from the list. For new languages, refer the Prerequisites mentioned above in the procedure. - Select a language from the Language drop-down list.
- Click the App Labels tab and click the Phrase for field to modify the display name of the Template.
- Similarly for Column Labels, click the Column Labels tab and then click the Phrase for fields to enter the display names for respective columns of the Template.
App Specific Messages display the information, with regard to the absence of data or in some instances, where a specific kind of information is required for intimation. - Click App Specific Messages tab and click the Phrase for field to enter the display name of your choice.
- Click Save to save the changes.
- Once the Resource Bundle Entries are saved successfully, click Save in App Designer.
The changes get applied on the widget immediately and you can view those in the functional application.
The following screen shot serves as a good illustration of the output in the functional application, Modelhouse.