Consultor Eletrônico



Kbase P123814: Translated strings are not displayed at run-time after compiling procedure with Translation Manager
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   09/05/2007
Status: Unverified

SYMPTOM(s):

Translated strings are not displayed at run-time after compiling procedure with Translation Manager

Translated strings with Translation Manager are not displayed at run-time from compiled procedure

Translated strings with Translation Manager are displayed at run-time with non compiled procedure

Translated strings are present in the text segments of a compiled procedure but do not appear at run-time

Procedure is compiled correctly specifying a target language

Procedure has the correct string translations within the Translation Manager Project

CAUSE:

Compiled procedure is run passing arguments as for example:
RUN procedureName.p "Argument1" "Argument2".

FIX:

Avoid to pass arguments to a procedure that have translated strings.
When passing arguments to an external procedure, Progress converts those arguments to character format. Progress recompiles the called procedure, substitutes arguments, and then runs the procedure. It is not possible to precompile a procedure to which arguments are passed.
If used shared variables or parameters instead of arguments, the procedure can be precompiled. This yields more efficient code.
Use parameters or variables when running a procedure in way to have the translated strings displayed correctly.