Consultor Eletrônico



Kbase P113525: How to translate static dialog objects in Dynamics.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   20/02/2006
Status: Unverified

GOAL:

How to translate static dialog objects in Dynamics.

GOAL:

How to translate the afmessaged static dialog in Dynamics.

GOAL:

How to translate folder tab labels on a static dialog object.

FACT(s) (Environment):

Dynamics
OpenEdge 10.0B

FIX:


Customize the adm2/container.p procedure initializeVisualContainer. In this procedure there is a line:

IF CAN-DO('SmartFrame,SmartWindow':U,cObjectType) THEN

Change this to:

IF CAN-DO('SmartFrame,SmartWindow,SmartDialog':U,cObjectType) THEN

It is then possible to add non Global (where the object name is specified) translations for the strings that need to be translated. So for example in Translation Maintenance add a translation with a source and target language, and the following:

Object name: afmessaged
Widget type: Tab Folder Page
Widget name: TAB
Original label: &Appserver Information
Translation label: <Translated text>

You should see the translated text in the afmessaged tab folder label when you log in using the target language. Please note that these translations will only be used if the container is launched from a Runtime or dynamic Launcher session, and not directly via the Appbuilder.