Consultor Eletrônico



Kbase P13446: TranMan Truncates Translations
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   07/02/2009
Status: Verified

SYMPTOM(s):

TranMan not translating a string correctly.

Translated strings are truncated

FACT(s) (Environment):

Translation Manager
Windows
Progress 9.x

CHANGE:

Translating strings via Tranman.

CAUSE:

The compiler only allocates as many bits as there are in the initial string.
"French" translated = "Francais" which is 8 characters.
A program using French as the current-language, produces "Franca", since
only 6 characters have been allocated

FIX:

Set progress to allocate more room for translation:
1. Set x = "Word":L10 allocating 10 bytes of room for the translated word
2. If the application has already been written you can use the Growth table feature on the Compile window to dynamically allocate more room for the translated word