Progress
Translation Manager
Guide
Setting the PROPATH
The PROPATH is a Progress system environment variable that supplies a list of directories that Progress searches to find procedures and application files. For Windows environments, you specify the PROPATH environment variable in the registry or in the [Startup] section of the environment (.ini) file. The Translation Manager tool reads its configuration information from the registry. The Visual Translator tool relies on the .ini file that you send to your translators along with the kit.
Before you start the Progress Translation Manager tool, set PROPATH in the registry to the same setting you would use if you were developing the source code. You must add the full pathname of the source-code root directory to the PROPATH environment variable. One of the Translation Manager’s functions is to compile translated source code, so you must re-create the directory structure that developers used when they wrote the original application. The PROPATH variable tells Progress which files to include when compiling and running an application. The PROPATH setting is stored within compiled r-code and is part of an application’s execution plan. Changing the location of r-code with relation to the directory structure in PROPATH prevents Progress from successfully running an application.
The PROPATH should contain the following directories in this order. Specifying a different order might cause source code to be compiled again:
- The current working directory (the directory from which you will start Progress)
$DLC/gui
$DLC
- The root directory that will contain the translated r-code
- The root directory that contains the untranslated r-code for the source language
NOTE: The root directory selection you make depends on whether you want source subroutines or target subroutines at run time.- The source code root directory (.p, .w, and .i code)
Specifying these directories allows the Translation Manager to compile and run the translated code. For more information about the PROPATH environment variable file, see the Progress Installation and Configuration Guide Version 9 for UNIX or the Progress Installation and Configuration Guide Version 9 for Windows and the Progress Client Deployment Guide. When you deploy a translated application, you deploy only the translated r-code; the application does not require the original source code or the untranslated r-code to run. For information on deploying r-code, see the Progress Programming Handbook and the Progress Internationalization Guide.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |