Kbase P102597: How to compile applications with multiple languages using 4GL
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/26/2009 |
|
Status: Unverified
GOAL:
How to compile applications with multiple languages using 4GL
GOAL:
How to compile code translated with Tranman with 4GL
FACT(s) (Environment):
All Supported Operating Systems
Translation Manager 2.0
Progress 9.x
OpenEdge 10.x
FIX:
The following is an example of how to compile the code with 4GL.
DEFINE VARIABLE cProgramName AS CHARACTER NO-UNDO.
INPUT FROM OS-DIR("tranman\progs").
REPEAT:
IMPORT cprogramName.
IF INDEX(cProgramName,".w") = 0 AND
INDEX(cProgramName,".p") = 0 THEN NEXT.
cprogramname = "tranman\progs\" + cProgramName.
COMPILE value(cProgramName) SAVE LANGUAGES("French").
END.
INPUT CLOSE.
The important point is to reference the files in the COMPILE statement as they are stored in
Tranman. This is why the filename in this example is prefixed with "tranman\progs\".