Previous Topic: Translating LiteralsNext Topic: Editing the Translated Version of CA Dataquery


Translating Vocabulary

CA Dataquery stores all commands and query keywords as vocabulary terms in the DQV table. You can access this table by selecting the vocabulary maintenance option on the Language Maintenance Menu. CA Dataquery allows you to translate all vocabulary terms. CA Dataquery provides a directory list of all vocabulary terms. From this list, you select the word you want to translate. CA Dataquery then displays a panel. On this panel you fill in the Language Code and the actual translation.

Rules

Follow these rules when translating vocabulary terms:

  1. Vocabulary terms must be translated into single words. Do not use embedded blanks or special characters.
  2. If you translate a word which is a literal, vocabulary term, and used on a panel, you must translate all three identically.
  3. Do not use the same translation for two different vocabulary terms within a single language.

See Translating Literals for a complete list of words which must be translated identically.

Operation

If you are not already signed on to CA Dataquery, you must sign on to CA Dataquery and display the Language Maintenance Menu. From the Language Maintenance Menu you can initiate translation. See Getting Started Using the Language Maintenance Facility for exact instructions on displaying the Language Maintenance Menu.

Step 1:

On the LANGUAGE MAINTENANCE MENU select Option 3, VOCABULARY, and press Enter.

LANGUAGE MAINTENANCE MENU (DQLN0)

=> ------------------------------------------------------------------------DQLN0 DATAQUERY: LANGUAGE MAINTENANCE MENU ----------------------------------------------------------------------------- ENTER DESIRED OPTION NUMBER ===> 3 LANGUAGE CODE===> __ (default ALL) 1. PANELS - Translate, edit, delete, and display panels 2. LITERALS - Translate, edit, delete, and display program literals 3. VOCABULARY - Translate, edit, delete, and display vocabulary terms ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN

Step 2:

CA Dataquery displays a directory of all vocabulary terms with their English equivalent. From this panel you can select the vocabulary term you want to translate.

Procedure

The following lists panel locations and their descriptions.

<PF7> and <PF8>

Use <PF7> to page the vocabulary directory backward and <PF8> to page forward.

+ and -

Page through the directory using the plus and minus sign. For example, entering +20 scrolls forward 20 pages and -20 scrolls backward 20 pages.

TOP and BOTTOM

You can also use the TOP and BOTTOM commands. TOP takes you to the first panel of the directory and BOTTOM takes you to the end of the directory.

After you have located the vocabulary term you want to translate, move the cursor down beside the word and press <PF6> TRANSLATE which creates a copy of the vocabulary term.

Directory of Vocabulary (DQL50)

=> PLACE THE CURSOR ON THE DESIRED NAME AND PRESS THE APPROPRIATE PFKEY ------------------------------------------------------------------------DQL50 DATAQUERY: DIRECTORY OF VOCABULARY ----------------------------------------------------------------------------- LANGUAGE| VALUE | ENGLISH VALUE ----------------------------------------------------------------------------- AE | ACTIVE | ACTIVE AE | ACTIVE-QUERY | ACTIVE-QUERY AE | ADMIN | ADMIN AE | ALL | ALL AE | AND | AND AE | ASCENDING | ASCENDING AE | AVERAGE | AVERAGE AE | BOTTOM | BOTTOM AE | BREAK | BREAK AE | BREAKS | BREAKS AE | BY | BY AE | CONDITIONS | CONDITIONS AE | CONTAINING | CONTAINING AE | COUNT | COUNT ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> NOT USED <PF4> EDIT ITEM <PF5> DELETE ITEM <PF6> TRANSLATE <PF7> BACKWARD <PF8> FORWARD

Step 3:

CA Dataquery displays the VOCABULARY EDIT/TRANSLATE panel with the English value. Enter your language code in the TRANSLATE TO LANGUAGE CODE field. Enter the translation in the NEW VALUE field. Your translation cannot exceed 40 characters and must be a single word with no embedded blanks. Press Enter to save your translation. If you want to leave this panel without saving your translation, press the CLEAR key or <PF2>.

VOCABULARY EDIT/TRANSLATE (DQL60)

=> FILL IN THE DATA BELOW AND PRESS ENTER TO COMPLETE FUNCTION ------------------------------------------------------------------------DQL60 DATAQUERY: VOCABULARY EDIT/TRANSLATE ----------------------------------------------------------------------------- LANGUAGE CODE: AE TRANSLATE TO LANGUAGE CODE==> es ----------------------------------------------------------------------------- VALUE : BY ENGLISH VALUE : BY NEW VALUE =======> por_____________________________________ ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN

After saving your translation, CA Dataquery returns you to the directory. Because CA Dataquery displays the directory in alphabetical order, your translation does not always appear under the base language version.