Q

Building a DSPF and PRTF with multi-language

I want to build a DSPF and PRTF with multi-language. For a DSPF, this is not a problem because I use a MSGID referenced to MSGF (MSGF in French, English and Spanish in a different library in my library-list). But for a PRTF, I can't use MSGID.


Unfortunately, MSGID can not be used with PRTF. There are other solutions. One would be to have several PRTF in "language libraries". Quite cumbersome and unwieldy. A better solution by far would be to have a single printer file where titles and labels would be named fields. You would then have a physical file in which you would have the same field names. You could then create one record per language and read the appropriate record in your program initialization. This would automatically load the titles and labels in your printer file.


This was first published in May 2001

Dig deeper on RPG iSeries programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close