Translate message and other stuff in abl form

Posted by asp_progi on 21-Sep-2016 08:35

Hi,

I'm using the latest version of open edge, and I'm trying to translate my application.

I've set my form to "localizable" and set to default language. Added few words in english french and dutch for my objects.

The resx-fr -de are well generated.

But I can't find how (maybe very simply) to translate something simple like this:

MESSAGE "Hello world" VIEW-AS ALERT-BOX.

It's not in the resx file cause it's in a trigger or methods.

It seems that the resx file just contains the texts of the initilize component method...

Hope there is a solution :) 

Thanks

Posted by Matt Baker on 21-Sep-2016 08:40

If you're working with .resx files then you're using the GUI for .NET functionality in which OpenEdge integrates with Microsoft controls.  Those controls do translation through .resx files.

The MESSAGE statement is built-in ABL language syntax not .NET functionality.  For built-in language functionality you would need to look into translation using 'tranman'.

Here is the doc for current version

documentation.progress.com/.../index.html

https://documentation.progress.com/output/ua/OpenEdge_latest/index.html#page/dvtmg/overview-of-the-translation-process.html

All Replies

Posted by Matt Baker on 21-Sep-2016 08:40

If you're working with .resx files then you're using the GUI for .NET functionality in which OpenEdge integrates with Microsoft controls.  Those controls do translation through .resx files.

The MESSAGE statement is built-in ABL language syntax not .NET functionality.  For built-in language functionality you would need to look into translation using 'tranman'.

Here is the doc for current version

documentation.progress.com/.../index.html

https://documentation.progress.com/output/ua/OpenEdge_latest/index.html#page/dvtmg/overview-of-the-translation-process.html

Posted by asp_progi on 21-Sep-2016 08:44

ok thanks!

Best regards.

This thread is closed