Method, system and computer program product for dynamic language switching in user interface menus, help text, and dialogs
First Claim
1. A method of providing user interface text, comprising:
- segregating user interface text for a software program from one or more operational components containing a human language-independent functionality for the software program;
providing, in addition to the operational components, at least one set of user interface text components containing all required user interface text for the software program; and
responsive to execution of the software program, selecting a set of user interface text components for a desired human language.
1 Assignment
0 Petitions
Accused Products
Abstract
To facilitate dynamic language switching in a data processing system, software is implemented with user interface text—menu and button labels, dialog messages, help text, etc.—and other language-specific components segregated from underlying functionality. Thus, for example, label and other text-based parameters for Java AWT methods are taken from storage objects separate from the constructor invoking the corresponding Java AWT method. Since Java is dynamically linked at runtime, one or more language-specific files containing all user interface text for an application may be dynamically selected during initialization of the application. The language-specific file selection may be based on the current setting of a language property for the host data processing system. If a language change request is received, the user interface may be reloaded with text supplied from a different language-specific file pursuant to the language change request.
164 Citations
21 Claims
-
1. A method of providing user interface text, comprising:
-
segregating user interface text for a software program from one or more operational components containing a human language-independent functionality for the software program;
providing, in addition to the operational components, at least one set of user interface text components containing all required user interface text for the software program; and
responsive to execution of the software program, selecting a set of user interface text components for a desired human language. - View Dependent Claims (2, 3, 4, 5, 6, 7)
defining menu labels, button labels, dialog messages and help text in software components separate from functional components for forming menu items, buttons, dialogs, and help displays within a user interface.
-
-
3. The method of claim 1, wherein the step of providing, in addition to the operational components, at least one set of user interface text components containing all required user interface text for the software program further comprises:
providing a plurality of sets of user interface components, each set containing user interface text in a different human language.
-
4. The method of claim 1, wherein the step of selecting a set of user interface text components for a desired human language further comprises:
selecting the set of user interface components based on a language property setting within a host data processing system on which the software program is executing.
-
5. The method of claim 1, wherein the step of selecting a set of user interface text components for a desired human language further comprises:
determining an ISO-3166 code for the desired human language.
-
6. The method of claim 1, wherein the step of selecting a set of user interface text components for a desired human language further comprises:
determining an ISO-639 code for the desired human language.
-
7. The method of claim 1, further comprising:
-
responsive to a language change request;
selecting a new set of user interface text components for a requested human language; and
reloading a user interface utilizing the new set of user interface text components.
-
-
8. A system for dynamic language switching, comprising:
-
means for segregating user interface text for a software program from one or more operational components containing a human language-independent functionality for the software program;
means for providing, in addition to the operational components, at least one set of user interface text components containing all required user interface text for the software program; and
means, responsive to execution of the software program, for selecting a set of user interface text components for a desired human language. - View Dependent Claims (9, 10, 11, 12, 13, 14)
means for defining menu labels, button labels, dialog messages and help text in software components separate from functional components for forming menu items, buttons, dialogs, and help displays within a user interface.
-
-
10. The system of claim 8, wherein the means for providing, in addition to the operational components, at least one set of user interface text components containing all required user interface text for the software program further comprises:
means for providing a plurality of sets of user interface components, each set containing user interface text in a different human language.
-
11. The system of claim 8, wherein the means for selecting a set of user interface text components for a desired human language further comprises:
means for selecting the set of user interface components based on a language property setting within a host data processing system on which the software program is executing.
-
12. The system of claim 8, wherein the means for selecting a set of user interface text components for a desired human language further comprises:
means for determining an ISO-3166 code for the desired human language.
-
13. The system of claim 8, wherein the means for selecting a set of user interface text components for a desired human language further comprises:
means for determining an ISO-639 code for the desired human language.
-
14. The system of claim 8, further comprising:
-
means, responsive to a language change request;
for selecting a new set of user interface text components for a requested human language; and
for reloading a user interface utilizing the new set of user interface text components.
-
-
15. A computer program product within a computer usable medium for dynamic language switching, comprising:
-
instructions for segregating user interface text for a software program from one or more operational components containing a human language-independent functionality for the software program;
instructions for providing, in addition to the operational components, at least one set of user interface text components containing all required user interface text for the software program; and
instructions, responsive to execution of the software program, for selecting a set of user interface text components for a desired human language. - View Dependent Claims (16, 17, 18, 19, 20, 21)
instructions for defining menu labels, button labels, dialog messages and help text in software components separate from functional components for forming menu items, buttons, dialogs, and help displays within a user interface.
-
-
17. The computer program product of claim 15, wherein the instructions for providing, in addition to the operational components, at least one set of user interface text components containing all required user interface text for the software program further comprises:
instructions for providing a plurality of sets of user interface components, each set containing user interface text in a different human language.
-
18. The computer program product of claim 15, wherein the instructions for selecting a set of user interface text components for a desired human language further comprises:
instructions for selecting the set of user interface components based on a language property setting within a host data processing system on which the software program is executing.
-
19. The computer program product of claim 15, wherein the instructions for selecting a set of user interface text components for a desired human language further comprises:
instructions for determining an ISO-3166 code for the desired human language.
-
20. The computer program product of claim 15, wherein the instructions for selecting a set of user interface text components for a desired human language further comprises:
instructions for determining an ISO-639 code for the desired human language.
-
21. The computer program product of claim 15, further comprising:
-
instructions, responsive to a language change request;
for selecting a new set of user interface text components for a requested human language; and
for reloading a user interface utilizing the new set of user interface text components.
-
Specification