*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> trans (1)              



NAME    [Toc]    [Back]

       trans - translation tool for use with source message catalogs

SYNOPSIS    [Toc]    [Back]

       trans [-c] [-o name] file.msg

OPTIONS    [Toc]    [Back]

       Display comment lines beginning with a dollar sign ($) for
       translation,  in  addition  to  messages.  Call the output
       file name. The default is output file name is trans.msg.

DESCRIPTION    [Toc]    [Back]

       The trans command assists in  the  translation  of  source
       message  catalogs.   The command reads input from file.msg
       and writes its output to either a file named trans.msg  or
       a file you name on the command line.  The command displays
       file.msg in a multiple window screen that lets you  simultaneously
  see  the  original message, the translated text
       you enter, and any messages from the trans command.   This
       multiple  window  screen  is easier to use for translating
       messages than a single window screen.

       The top window in the multiple window screen displays  the
       text  in the message source file file.msg. The editor displays
 the current message in reverse video.

       In the center window, trans displays a  prompt  that  asks
       you  to enter a translated message.  You use a control key
       editor to move the cursor and delete text  in  the  center
       window. 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 you need to span more than one line with the translated
       text, type a backslash (\) and press  the  RETURN  key  to
       enable  line  continuation.  After you finish entering the
       translated text, press the RETURN key to signal  that  you
       have finished translating that message.

       The  bottom  window  displays  any  messages  generated by
       trans. If an error occurs, trans prompts you  to  re-enter
       the entire line, including the message label or number.

RESTRICTIONS    [Toc]    [Back]

       Your  terminal must be 80 columns by 24 lines for trans to
       display its three-window screen.

       You cannot interrupt a trans session and restart it at the
       point  you  stopped. You must complete the all the changes
       to a file before exiting a file.

SEE ALSO    [Toc]    [Back]

       extract(1), gencat(1), strextract(1), strmerge(1)

       Writing Software for the International Market

[ Back ]
 Similar pages
Name OS Title
msgcmp Linux compare two message catalogs
msgfmt Linux compile message catalogs
msgmerge Linux merge two message catalogs
msgunfmt Linux decompile message catalogs
bindtextdomain Linux set directory containing message catalogs
findstr HP-UX find strings for inclusion in message catalogs
mkcatdefs Tru64 Preprocesses a message source file
runcat Tru64 Pipes message text source from mkcatdefs to gencat
mkstr OpenBSD create an error message file by massaging C source
mkstr IRIX create an error message file by massaging C source
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service