| Contents: | Main | Chapter | See Also: | Getting Started Manual | Advanced User Manual | |||
The VA FileMan DIALOG (#.84) file is used to store dialog that would normally appear on a screen during interaction with a user. The DIALOG (#.84) file becomes especially important in assisting developer support for non-English speaking users, because it allows easy entry and retrieval of non-English dialog without making any changes to code that is already using the DIALOG (#.84) file.
A system variable, DUZ(LANG), identifies to VA FileMan the language currently in use. This system variable is set equal to a number that corresponds to the ID NUMBER of an entry in the LANGUAGE (#.85) file.
REF: For more information, see the "VA FileMan LANGUAGE File" section.
This number is also used as a subscript for the TRANSLATION (LANGUAGE) Multiple in which non-English text can be stored.
NOTE: For users running Kernel 8.0 or later, this variable is set automatically during signon.
For every entry needing translation in the DIALOG (#.84) file, the developer should populate the FOREIGN TEXT field for the desired language. When either of the text retrieval routines, BLD^DIALOG or $$EZBLD^DIALOG, is called, if DUZ("LANG") is greater than one (1), VA FileMan looks at the language location specified by DUZ("LANG") to find the text. If text cannot be found at that location, VA FileMan defaults to use the English equivalent from the TEXT field. As with English text, parameters to be inserted into the text can be passed to the call.
REF: See also the BLD^DIALOG(): DIALOG Extractor and $$EZBLD^DIALOG(): DIALOG Extractor (Single Line) APIs.
Once an entry exists in the DIALOG (#.84) file, developers can enter or edit non-English equivalents for the TEXT field, using VA FileMan's Enter or Edit File Entries [DIEDIT] option.
Figure 416: DIALOG File—Sample Dialog to Create Non-English Text in the DIALOG (#.84) File
Select DIALOG: 10001 <Enter> This is English text for a test message.
.
.
.
Select LANGUAGE: ?
Answer with TRANSLATION LANGUAGE
You may enter a new TRANSLATION, if you wish
Enter the number or name for a non-English language.
English language cannot be selected.
Answer with LANGUAGE ID NUMBER, or NAME
Choose from:
2 GERMAN
3 SPANISH
4 FRENCH
5 FINNISH
6 ITALIAN
10 ARABIC
11 RUSSIAN
Select LANGUAGE: 2 <Enter> GERMAN
Are you adding '2' as a new TRANSLATION (the 1ST for this DIALOG)? Y
<Enter> (Yes)
FOREIGN TEXT:
1>Here is where you enter the non-English text.
Reviewed/Updated: May 2026