Files > LANGUAGE

name
LANGUAGE
number
.85
location
^DI(.85,
description
The LANGUAGE file is used both to officially identify a language, and to store MUMPS code needed to do language-specific conversions of data such as dates and numbers. VA FileMan currently distributes only the English language entry for this file (entry number 1). This code is currently available for use only within VA FileMan. A pointer to this file from the TRANSLATION multiple on the DIALOG file also allows non-English text to be returned via FileMan calls.
Fields
#NameLocationTypeDetailsIndexDescription
.01id number(+)0;1NUMERICBA number that is used to uniquely identify a language. This number corresponds to the FileMan system variable DUZ("LANG"), which is set during Kernel signon to signify which language FileMan should use.
1name(+)0;2FREE TEXTCThe descriptive name of the language corresponding to this entry (i.e., German, Spanish).
10.1ordinal number formatORD;E1,245FREE TEXTMUMPS code used to transfer a number in Y to its ordinal equivalent in this language. The code should set Y to the ordinal equivalent without altering any other variables in the environment. Ex. in English: Y=1 becomes Y=1ST Y=2 becomes Y=2ND Y=3 becomes Y=3RD etc.
10.2date/time formatDD;E1,245FREE TEXTMUMPS code used to transfer a date or date/time in Y from FileMan internal format, to printable format equivalent to English MMM DD,YYYY@HH.MM.SS. The code should set Y to the output, without altering any other variables in the environment. Ex. in English: Y=2940612.031245 becomes Y=JUN 12,1994@03:12:45
10.21date/time format (fmte)FMTE;E1,245FREE TEXTMUMPS code used to transfer a date or date/time in Y from FileMan internal format, to printable format based on the various outputs from routine FMTE^DILIBF. This is an extrinsic function. Coming in to this MUMPS code, in addition to the internal date in Y, a third parameter will be defined to contain flags equivalent to the flag passed as the second input parameter to FMTE^DILIBF. The code should set Y to the output, without altering any other variables in the environment. The output should be formatted based on these flags: 1 MMM DD, YYYY@HH:MM:SS 2 MM/DD/YY@HH:MM:SS no leading zeroes on month,day 3 DD/MM/YY@HH:MM:SS no leading zeroes on month,day 4 YY/MM/DD@HH:MM:SS 5 MMM DD,YYYY@HH:MM:SS no space before year,no leading zero on day 6 MM-DD-YYYY @ HH:MM:SS spaces separate time 7 MM-DD-YYYY@HH:MM:SS no leading zeroes on month,day letters in the flag S return always seconds U return uppercase month names P return time as am,pm D return only date part
10.22timeTIME;E1,245FREE TEXTThe code stored here will be used to get formatted output of the time part belonging to a FileMan Date/Time value.
10.3cardinal number formatCRD;E1,245FREE TEXTMUMPS code used to transfer a number in Y to its cardinal equivalent in this language. The code should set Y to the cardinal equivalent without altering any other variables in the environment. Ex. in English: Y=2000 becomes Y=2,000 Y=1234567 becomes Y=1,234,567
10.4uppercase conversionUC;E1,245FREE TEXTMUMPS code used to convert text in Y to its upper-case equivalent in this language. The code should set Y to the external format without altering any other variables in the environment. In English, changes abCdeF to: ABCDEF
10.5lowercase conversionLC;E1,245FREE TEXTMUMPS code used to convert text in Y to its lower-case equivalent in this language. The code should set Y to the external format without altering any other variables in the environment. In English, changes: ABcdEFgHij to: abcdefghij
20.2date input20.2;E1,245FREE TEXT

Referenced by 4 types

  1. PRINT TEMPLATE (.4) -- language of heading, language in which compiled
  2. LANGUAGE (.85) -- linguistic category, member of language set
  3. NEW PERSON (200) -- language
  4. KERNEL SYSTEM PARAMETERS (8989.3) -- default language