Creating bilingual objects for your applications

The objects in a bilingual application are like any other QMF object. The key is that you either create or save them in English. How you do this depends on the specific object:

Queries
You can create prompted and QBE queries in your native language, or you can create SQL queries in English.
Forms
Always create forms in the presiding language, and then save them, either using the default language on the SAVE command (ENGLISH) or the presiding language.

The global variable DSQEC_FORM_LANG controls which language is used for the SAVE command. The default value is 1 for English. A 0 value specifies that the forms are to be saved in the presiding session language.

Procedures
You can create procedures in either English or the presiding language.

You can translate a form that you create and save in an NLF to English by issuing a SAVE command. For example, in French, the command to save a form called SEMAINE_F as WEEKLY_F in English is:

SAUVER FORMAT SEMAINE_F EN WEEKLY_F (LANGUE=ANGLAIS

This converts your NLF form to an English form that you can use in your bilingual application.

[ Previous Page | Next Page | Contents | Index ]