Previous Topic: Specific GuidelinesNext Topic: Translating Vocabulary


Translating Literals

CA Dataquery displays words which are informational or are used in building queries in guided mode. These words are called literals. These words appear throughout CA Dataquery on many different panels. An example of a literal is the word MORE. MORE appears at the bottom of a panel to inform you more information follows on the next panel. CA Dataquery stores all literals in the DQM table.

CA Dataquery allows you to translate the literals contained in the DQM table. Each literal has been assigned a unique number. Use this number to identify the literal you want to translate. To access the DQM table directory, select the literal maintenance option on the Language Maintenance Menu.

Rules

When translating literals follow these rules:

  1. If you translate a word which is a vocabulary term, literal, and used on a panel, you must translate all three identically.
  2. Literal translations must be less than or equal to the literal length listed on the Edit/Translate Panel.
  3. If a literal is also a vocabulary term, do not use embedded blanks or special characters in the translation.
  4. Do not use the same translation for two different literals within the same language.

Translation Aid

A list of most frequently-used words that are used as vocabulary, literals, and on panels follows. Use the literal number listed to help locate the words on the Directory of Literals. If the word is used on a panel, the panel name follows the literal number.

ACTIVE-QUERY

073

ALL

054

BREAKS

/(DQD40)

BY

110 /(DQD30)

DETAIL

094

DIALOG

072

DISPLAY

025 /(DQD40)

DO

030 /(DQD40)

DOWN

/(DQD30)

EQ

013

ERASE

069

FIND

053 /(DQD30)

FINISHED

048 /(DQD40)

FIRST

023 /(DQD30)

FROM

/(DQD40)

GT

016

GTE

017

JCL

009

LT

014

LTE

015

NOT

012

NO-TOTALS

096

PICTURE

028

PRINT

024 /(DQD40)

PRIVATE

004

PUBLIC

003

QUERY

008

ROWS

/(DQD30)

RELATED

020 /(DQD30)

SET

052 /(DQD30)

SORT

074 /(DQD30)

TERM

005

TITLE1

026

TITLE2

027

TO

021 /(DQD30)

TOTALS-ONLY

095

UPDATE

068

VIA

022 /(DQD30)

WHEN

029 /(DQD40)

WITH

011 /(DQD30)

Example

Following is the right way to translate the word WITH to Spanish:

Following is the wrong way to translate WITH to Spanish:

The right way translates WITH identically for the literal, vocabulary term, and on the panel DQD30. The wrong way translates WITH for some but not all language items.

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 2, LITERALS and press Enter.

Language Maintenance Menu (DQLN0)

=> ------------------------------------------------------------------------DQLN0 DATAQUERY: LANGUAGE MAINTENANCE MENU ----------------------------------------------------------------------------- ENTER DESIRED OPTION NUMBER ===> 2 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 literals. From this panel you can select the literal you want to translate.

Procedure

The following lists panel locations and their descriptions.

<PF7> and <PF8>

Use <PF7> to page the literal 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 literal you want to translate, move the cursor down beside the literal and press <PF6> TRANSLATE. <PF6> TRANSLATE creates a copy of the literal.

Directory of Literals (DQL30)

=> PLACE THE CURSOR ON THE DESIRED NAME AND PRESS THE APPROPRIATE PFKEY ------------------------------------------------------------------------DQL30 DATAQUERY: DIRECTORY OF LITERALS ----------------------------------------------------------------------------- ITEM | LANGUAGE | LITERAL ----------------------------------------------------------------------------- 001 | AE | MORE .... 002 | AE | LAST PAGE 003 | AE | PUBLIC 004 | AE | PRIVATE 005 | AE | TERM 006 | AE | COND 007 | AE | MODEL 008 | AE | QUERY 009 | AE | JCL 010 | AE | PROC 011 | AE | WITH 012 | AE | NOT 013 | AE | EQ 014 | AE | LT ----------------------------------------------------------------------------- <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 Literal Edit/Translate Panel. The panel displays information about the literal such as length and language code. Enter your language code, the new literal value. Your translated version of the literal cannot exceed the literal length displayed on this panel. To save your translation press ENTER. To exit without saving your changes, press Clear or <PF2>.

Literal Edit/Translate (DQL40)

=> FILL IN THE DATA BELOW AND PRESS ENTER TO COMPLETE FUNCTION ------------------------------------------------------------------------DQL40 DATAQUERY: LITERAL EDIT/TRANSLATE ----------------------------------------------------------------------------- ITEM NUMBER : 001 LANGUAGE CODE: AE ----------------------------------------------------------------------------- LITERAL LENGTH: 9 TRANSLATE TO LANGUAGE CODE==> es ----------------------------------------------------------------------------- LITERAL: MORE ... KEY NEW LITERAL VALUE BELOW: mas ...._____________________________________________________________________ ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN

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