Entering String Translations

You enter, view and maintain an application’s String Translations on the application’s String Translations form.

Accessing the String Translations Form

You can access the String Translations form in the three different ways described below. The way you access the String Translations form determines the “view” you have of the String Translation records.

·       View All String Translations - String Translations Form: Select String Translations on an application’s Admin menu to view all string translations in String ID + Use ID + Language ID order. This view groups the translations for each string together. You can use the Toolbar Order control to change the view to see the string translations grouped by language if you wish.

·       View Current String’s Translations - String Manager: Select String Manager on an application’s Admin menu and then click the Translations button on the String Manager form. The String Translations form is displayed with a Related Forms parent-child relationship between the String Manager form (parent) and the String Translations form (child). That means that the string translations displayed on the String Translations form are filtered to the translations that belong to the current string displayed on the String Manager form. While the String Translations form is active, you can, of course, use the Toolbar Parent Mode control to change the current (parent) String Manager form record, which will then display the string translations for the new string record that you select.

Tip – Current String View: Use this view when you want to access all String Translations for a particular string.

·       View Current Language’s String Translations - Language Manager: Select Language Manager on an application’s Admin menu, and then click the String Translations button on the Language Manager form. The String Translations form is displayed with a Related Forms parent-child relationship between the Language Manager form (parent) and the String Translations form (child). That means that the string translations displayed on the String Translations form are filtered to the translations that belong to the current language displayed on the Language Manager form. While the String Translations form is active, you can, of course, use the Toolbar Parent Mode control to change the current (parent) Language Manager form record, which will then display the string translations for the new language that you select.

Tip – Current Language View: Use this view when you want to access all String Translations for a particular language.

String Translations Form

However you access it, you enter String Translations on the String Translations form.

·       The String Translations form displays information for the string to which a translation belongs in the String ID, Use ID, Comments and Locations boxes.

·       If the String Translations records already exist for a string, all you need to do is enter the string translation in the Translated String edit box and click the Save toolbar control.

·       If you are entering an expression to be evaluated to produce the string, click the Expression check box before clicking Save.

·       Click the Default button to have the string itself automatically entered into the Translated String edit box.

·       If a String Translation record does not already exist for a string, you need to create a new String Translation record.

Ø To create a new String Translation record

1.   Click the New toolbar button. VPME adds a blank record.

2.   Click the String ID Picklist icon. VPME displays a list of the String ID’s of all the strings in the Strings table. Select the ID of the string for which you want to enter a translation. VPME will automatically fill in the string’s Use ID from the Strings table.

3.   Click the Language Picklist icon. VPME displays a list of the Languages in the application’s Languages table. Select the ID of the Language for which you want to enter a translation.

4.   If you are entering an expression to be evaluated to produce the string, click the Expression check box.

5.   Enter the translation or expression in the Translated String edit box.

6.   Click the Save toolbar button.

Default String Translation

If you do not enter a String Translation for a Language, by default the untranslated string will be displayed when the application is run in that Language.

More:

How to Create Alternative Translations for the Same String