Browse Prior Art Database

Mechanism for Dynamic Language Switch

IP.com Disclosure Number: IPCOM000116541D
Original Publication Date: 1995-Sep-01
Included in the Prior Art Database: 2005-Mar-30
Document File: 2 page(s) / 79K

Publishing Venue

IBM

Related People

Kanda, S: AUTHOR [+2]

Abstract

Disclosed is a mechanism for switching the language used for panels, helps, and messages dynamically on a program with the minimum code modification.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 53% of the total text.

Mechanism for Dynamic Language Switch

      Disclosed is a mechanism for switching the language used for
panels, helps, and messages dynamically on a program with the minimum
code modification.

      In a PC program, texts for panels, messages, and helps are
generally included in a Dynamic Link Library (DLL).  On a program
package, which consists of several programs, each program in the
package loads this DLL statically, and calls the functions in the DLL
to display messages, panels, and helps.  Fig. 1 shows the relation
ship between the programs and the DLL.  In this Figure, the DLL is
named MESSAGE.DLL, and hereafter it is referred to as this name.

      When a program package is created for other language
(countries), MESSAGE.DLL including the translated texts is created
for each language and is packaged respectively.  In order to make a
single program package, which can display different translated texts
for programs in the package, or can display translated texts
according to the environment that the programs run, MESSAGE.DLL needs
to have different name for each language, or needs to be put into the
directory in which they are named differently for each language.  In
either case, the programs need to be changed to load the appropriate
MESSAGE.DLL according to the language to display, but it causes a lot
of code modification.

      The code modification is minimized by creating a dummy DLL,
which has the same name and the same external interface with
MESSAGE.DLL.  Fig. 2 shows the relationship among the programs,
MESSAGE.DLL including translate...