Literal Text Maintenance Overview |
DEVELOPER |
The Literals are used in combination with the LITERAL_TEXT Logic Verb and provide a means of translating text strings. It is important to note that this functionality has been superseded by the Multilingual functionality and it is advisable that you use the ML Logic Verb instead.
However, if you are using Literal Text functionality, it works in the following manner. You create one translation file for your strings for each language that you want to translate, and save it in the correct location. Wherever you want to display a translation, you hold the string in a variable in logic.
For example, on a screen, a prompt for employee name could be $NAME_PROMPT, in the file the string for the employee name prompt could be code 123, and the logic is as follows:
$NAME_PROMPT = LITERAL_TEXT(123)
This reads the Literals file and places the string held against 123 into $NAME_PROMPT, which is then displayed.
Topic ID: 500596