× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi, Sudha

I think the way to do this is to have message files of the same name in different libraries for each language, then have a different library list, depending on the language. This is basically what IBM does - they have QSYS for the primary language, then they have QSYS2924, e.g., if US English is your secondary language. Then you can use *LIBL, as Rick showed.

There are a number of UIM elements where the text comes from a message file. Now I see that these things might be resolved when the panel group is created. It's not completely clear to me. The &msg symbol suggests that this is the case there. The other uses of a message file are not so clear. This would mean that you should have the compiled panel groups in separate language libraries.

As far as I know, there is no way to use a variable for the name of the message file.

HTH
Vern

At 09:46 AM 11/13/2004, you wrote:
Thanks Rick, this is a great help but I want to also parameterize the
message file.  I see samples with hard coded file name.  Is this
possible to use a variable that can hold the file name?

Thanks,
Sudha

Sudha Ramanujan
SunGard Futures Systems
sramanujan@xxxxxxxxxxxxxxxxxx
(312) 577 6179
(312) 577 6101 - Fax

-----Original Message-----
From: Rick Renkema [mailto:rickr@xxxxxxxxxxxxxx]
Sent: Friday, November 12, 2004 4:37 PM
To: Midrange Systems Technical Discussion
Subject: Re: Multi-language pnlgrp

Hope this helps ...

.*-------------------------------------------------------------------*.
.* Define the Panel Group and message file                           *.
:PNLGRP    SUBMSGF='*LIBL/SNPPROMPT'
           DFTMSGF='*LIBL/SNPMSGF'.
.*-------------------------------------------------------------------*.

See the Application Display Programming Manual, SC41-5715-00

Regards,

Rick Renkema
Development Manager
Mid-Comp International Pty Ltd
Phone : +61 3 9011 8288
Fax : +61 3 9544 9631
Mobile : +61 (0)414 877 483
email : rickr@xxxxxxxxxxxxxx

"All great discoveries are made by mistake"

> Hi all,
> We have multi-language capable application (or trying to have one).
In
> the research process, we have to create a multi language panel groups.
> Is there anyway, we could refer to a message file in a panel group? If
> yes, can you please clip a sample code for me?  Or point to me the
link
> on the subject?
> TIA,
>
> Sudha Ramanujan
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


-- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.