Progress
Translation Manager
Guide
Running Code from the Command Line
If you decide to run the compiled code (r-code) directly from the command line, you should consider the following:
- When you change the value of the CURRENT-LANGUAGE statement, you affect all the text phrases in the r-code that Progress subsequently runs. Any r-code that is already on the run-time stack still runs with the previous CURRENT-LANGUAGE setting. Also, CURRENT-LANGUAGE is a global value. If you return to a previously running piece of r-code from the place where you changed the CURRENT-LANGUAGE, the value of CURRENT-LANGUAGE is the changed value, not the language with which the “old” r-code is running.
- To query an r-code session to see the available languages, use the following code, where my.p is the name of the procedure you are running:
RCODE-INFO:FILE-NAME = "
my.p
".
DISPLAY RCODE-INFO:LANGUAGES FORMAT "X(50)"."Preparing Your Application for Translation," describes how developers can change their source code to make it easier to translate. "Updating a Project," describes how to update a project if the developers change any of the source code procedures and how to edit target phrases in the Translation Manager tool. "Troubleshooting," describes how to resolve some common error messages.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |