‎2008 May 20 2:46 PM
Hi.
I have an Include that writes LOG. But, it's log messages can't be translated, because Includes does not have text elements.
There's a easy way to translate it without using text elements?
Thanks in advance,
Brian Gonsales.
‎2008 May 20 9:51 PM
Your include cannot have text-elements, but it cannot be executed and has to be included in a main program. That program can have text-elements.
In of our projects we have used the below syntax to handle the translations in a include
Write : 'Test Program'(000).
000 is the text element defined in the main program and you can maintain translations for it. If a translation (or rather a value) is maintained for 000 then it will pick that value, else it will display the text 'Test program'.
Hope this is helpful.
Thanks,
Pavan
‎2008 May 20 9:51 PM
Your include cannot have text-elements, but it cannot be executed and has to be included in a main program. That program can have text-elements.
In of our projects we have used the below syntax to handle the translations in a include
Write : 'Test Program'(000).
000 is the text element defined in the main program and you can maintain translations for it. If a translation (or rather a value) is maintained for 000 then it will pick that value, else it will display the text 'Test program'.
Hope this is helpful.
Thanks,
Pavan