Summary of working with translations

This article contains a summary of how to work with the Translations feature for building multilingual applications.

 

A. This column displays the keys that you create to assign to individual terms.

Each key can have one or more values shown in separate columns that represent individual language terms. For example, the key St can be applied to a field and the value Street is assigned in English. When the application is opened, fields with the key St applied display as Street in the user interface.

If the browser is set Dutch, the field shows Straat.

The Key is applied in the Pages environment as you work with the components of your application. To assign a key to a text field, select the Translations button. You can insert a key from the list displayed.

B. The value that is applied in the selected primary language is displayed. In the above example, the primary language is English.

Note: This is also the term that is displayed where a language translation is not available.

C. Click on the Add button. An additional menu is now displayed for selecting a language. The drop-down menu is populated with the languages selected in the Manage languages window. When you select a language, a column is displayed for entering the translated value that corresponds with the value in the primary language.

Where you have additional languages specified, you can switch between the languages displayed using the Choose a Language menu.

D. Click on the + Add button to add additional rows for which you want to define a value. As you build your application, you can continue to include additional rows for handling translations.

Testing translations

You can test the translations you have set display by opening the application page using the Play button from the builder bar.

The language default set in your browser triggers the language displayed in your application’s interface. If you want to check other translations, set the language default in your browser to the required language before pressing the Play button.

1. Set the language default in your browser to the required language.

2. Press the Play button. Your application page is opened in a separate window.

Once you have checked the page, close the tab or click on the application tab to return to your application.

Removing translations

You can remove individual terms or an entire language set. To remove a language:

1. Open the Translations from the Tools menu.

2. Open the Manage Languages pane via either the pull-down menu in the Choose a primary language or Choose a language field.

3. In the Manage language window, click on the Trash button

The specified language is removed.