trans(1int)
NAME
trans − translation tool for use with message source files
SYNTAX
trans [ −c ] [ −o name ] file.msf
DESCRIPTION
The trans command assists in the translation of message source files. It provides a multiple window screen to make the translation of the message source file easier than with a standard text editor.
When you invoke trans, three windows are created. The top window displays the original message text (contained in the message source file file.msf) with the current message in highlight mode. The middle window displays the translated text you have input, along with the message mnemonic/number and any quote character. The bottom window displays any messages generated by trans.
After you have invoked trans you are prompted to enter the translation of the original text on to the middle window. Translation entry is done using a simple control key editor. The control key sequences are defined as follows:
| Key Sequence | Meaning |
| CTRL/k | Display control key help |
| CTRL/h | Back space |
| CTRL/l | Forward space |
| CTRL/w | Back word |
| CTRL/f | Forward word |
| CTRL/e | Move to end of input |
| CTRL/b | Move to beginning of input |
| CTRL/n | Next line |
| CTRL/p | Previous line |
| CTRL/u | Delete input |
| CTRL/i | Insert mode (default) |
| CTRL/r | Replace mode |
| DEL | Delete previous character |
If the text entered needs to span more than one line, type a backslash (\) and press the RETURN key to enable line continuatio. After all text has been entered press the RETURN key signal the completion.
If an error occurs, you are prompted to reenter the entire line, including the message mnemonic/number.
OPTIONS
−cTranslate comment lines beginning with a dollar sign ($), including messages.
−oCall the output file name. The default is trans.msf.
RESTRICTIONS
The multiple window screen that is used must be at least 80 characters by 24 lines.
SEE ALSO
extract(1int), gencat(1int), strextract(1int), strmerge(1int)