New Project Language Builder

The New Project Language Builder allows you to define the languages that will appear in the Select Translation Languages dialog when you create a new VPME Multilingual application (see New Project)xxxx. You can set up language properties and import message and string translations from Language Templates provided by the ProMatrix Corporation.

You reach the New Project Language Builder from the PM-Admin / ProMatrix Setup menu.

The Language Builder is a Form Toolbar form with two pages:

·       Language Page: The Language page (shown above):

·       Displays the Language ID, Description and any Comments you choose to enter.

·       Lets you import message and string translations from Language Templates provided by the ProMatrix Corporation.

·       Properties Page: The Properties page (shown below) lets you:

·       Set a language’s date and currency properties.

·       Select the application elements to be translated at runtime.

·       Select string elements to be added to the String table when running an application.

New Project Language Builder Functionality

You use the New Project Language Builder to define the languages available to a new project. The New Project Language Builder lets you view and modify the records in the New Project Languages Table (SVPMLanguages.dbf in VPME’s \NEW PROJECT directory).

You use the New Project Language Builder to:

·       Add: Add languages to the New Project Languages Table.

·       Delete: Delete languages from the New Project Languages Table.

·       Dates: Set a language’s date properties.

·       Currency: Set a language’s currency properties.

·       Translate: Select the application elements to be translated at runtime for the language.

·       Add Missing Strings: Select string elements to be added to the Strings table when running an application.

Setting Language Date Properties

The Properties page of the New Project Language Builder allows you to set the date format for each language in the New Project Languages Table.

A language’s date format properties are established through the appropriate SET commands when an application is executed or when the current language is changed.

·       Date Format: The Date Format field lets you specify the format for the display of Date and DateTime expressions. The format you select is used in a SET DATE TO command when your application runs.

·       Date Separator: The Date Separator field lets you specify a delimiter for the display of date expressions through the SET MARK TO command. When you select a Date Format, the delimiter defaults to the delimiter associated with your selection. When you then specify a Date Separator, the default delimiter is replaced by your separator selection.

Tip: See your Visual FoxPro Help file for documentation of the SET DATE TO and SET MARK TO commands.

Setting Language Currency Properties

The Properties page of the New Project Language Builder allows you to set the currency format for each language in the New Project Languages Table.

A language’s currency format properties are established through the appropriate SET commands when an application is executed or when the current language is changed.

·       Currency Decimals: The Currency Decimals field lets you specify the number of decimal places displayed in numeric expressions using the SET DECIMALS TO command.

·       Currency Symbol: The Currency Symbol field lets you specify the currency symbol in the display of numeric, currency, float, and double expressions using the SET CURRENCY TO command .

·       Currency Left: The Currency Left field lets you specify the left position in the display of numeric, currency, float, and double expressions using the SET CURRENCY LEFT command. The default position is RIGHT.

·       Currency Separator: The Currency Separator field lets you specify the separator to be used in the display of numeric, currency, float, and double expressions using the SET SEPARATOR TO command.

·       Currency Point: The Currency Separator field lets you specify the decimal point character used in the display of numeric and currency expressions using the SET POINT TO command.

Tip: See your Visual FoxPro Help file for documentation of the SET DECIMALS TO, SET CURRENCY TO, SET CURRENCY LEFT, SET SEPARATOR and SET POINT TO commands.

Selecting Application Elements to Translate

Normally, you will want all elements of an application to be translated when the application is run in a language other than the Master Language. However, Visual ProMatrix allows you to control which elements of your application should be translated at the application level and at the individual object level.

Application Level

For each language in the New Project Languages Table, the Properties page of the New Project Language Builder allows you to specify which elements of your application should be translated from their Master Language values.

The check boxes in the Translate column on the Properties page let you turn translation on and off at the application level for:

·       Messages

·       Report Fonts

·       Strings

Within the Strings category, you can selectively turn translation on and off at the application level for the following object properties:

·       Caption

·       ControlSource

·       DownPicture

·       DragIcon

·       Font

·       Icon

·       InputMask

·       Picture

·       RecordSource

·       RowSource

·       StatusBarText

·       ToolTiptext

By default all items in the Translate column are selected for translation.

Add Missing Strings

The check boxes in the Add Missing Strings column on the Properties page let you choose the types of strings that a VPME Multilingual application will add to the Strings table.

The choices you make on the New Project Language Builder will affect only the languages in the New Project Languages Table. They do not directly affect VPME Multilingual applications in progress.

More:

New Project Message Translations