System and method for providing dynamic multiple language support for application programs
First Claim
1. A system for providing multiple language support for at least one application program, the system comprising:
- a plurality of language resource bundles comprising associations between language keys and displayable language-sensitive elements, each of said resource bundles corresponding to a different language, wherein at least one of said associations is specific to a particular application program and at least one of said associations is applicable to a plurality of different application programs;
a language resource manager configured to receive a first language key from a first application program, locate a language resource bundle corresponding to a currently-selected language, identify a first language-sensitive element associated with the first language key and the first application program, and provide the first language-sensitive element to the first application program for display in a graphical user interface; and
a language switching component configured, in response to a change in the currently-selected language, to send to the language resource manager the first language key corresponding to the first language-sensitive element displayed in the graphical user interface, receive from the language resource manager a second language-sensitive element, and replace the first language-sensitive element with the second language-sensitive element in the graphical user interface by preempting the first application program, saving a state of the first application program, discarding the graphical user interface being currently displayed, generating a new graphical user interface comprising the second language-sensitive element provided by the language resource manager, restoring the state of the first application program, and resuming execution of the first application program.
8 Assignments
0 Petitions
Accused Products
Abstract
In response to a user activating a language switching mechanism to indicate a newly selected language, a language switch component sends a language key that corresponds to a first language sensitive element displayed in the user interface to a language resource manager. The language resource manager retrieves from a language resource bundle, which corresponds to the newly selected language, a second language sensitive element. The language switch component then replaces the first language sensitive element with the second language sensitive element. The replacement process is then repeated for all language sensitive elements in the user interface.
46 Citations
41 Claims
-
1. A system for providing multiple language support for at least one application program, the system comprising:
-
a plurality of language resource bundles comprising associations between language keys and displayable language-sensitive elements, each of said resource bundles corresponding to a different language, wherein at least one of said associations is specific to a particular application program and at least one of said associations is applicable to a plurality of different application programs; a language resource manager configured to receive a first language key from a first application program, locate a language resource bundle corresponding to a currently-selected language, identify a first language-sensitive element associated with the first language key and the first application program, and provide the first language-sensitive element to the first application program for display in a graphical user interface; and a language switching component configured, in response to a change in the currently-selected language, to send to the language resource manager the first language key corresponding to the first language-sensitive element displayed in the graphical user interface, receive from the language resource manager a second language-sensitive element, and replace the first language-sensitive element with the second language-sensitive element in the graphical user interface by preempting the first application program, saving a state of the first application program, discarding the graphical user interface being currently displayed, generating a new graphical user interface comprising the second language-sensitive element provided by the language resource manager, restoring the state of the first application program, and resuming execution of the first application program. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A method for providing multiple language support for at least one application program, the method comprising:
-
providing a plurality of language resource bundles comprising associations between language keys and displayable language-sensitive elements, each of said resource bundles corresponding to a different language, wherein at least one of said associations is specific to a program and at least one of said associations is applicable to a plurality of different application programs; receiving a first language key from a first application program, locating a language resource bundle corresponding to a currently-selected language; identifying a language-sensitive element associated with the first language key and the first application program; providing the identified language-sensitive element to the first application program for display in a graphical user interface; and in response to a change in the currently-selected language; sending the first language key corresponding to a first language-sensitive element displayed in the graphical user interface; receiving a second language-sensitive element in response to said second language key; and replacing the first language-sensitive element with the second language-sensitive element in the graphical user interface, wherein replacing comprises; preempting the first application program; saving a state of the first application program; discarding the graphical user interface being currently displayed; generating a new graphical user interface comprising the second language-sensitive element; restoring the state of the first application program; and resuming execution of the first application program. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29)
-
-
25. The method of 23, wherein at least one descriptor of a language key is selected from the group consisting of a string, a character, a number, and a symbol.
-
30. A system for providing multiple language support for at least one application program, the system comprising:
-
a plurality of language resource bundles comprising associations between language keys and displayable language-sensitive elements, each of said resource bundles corresponding to a different language; a language switching component to preempt an application program, save a state of the application program, discard the graphical user interface being currently displayed, generate a new graphical user interface comprising at least one new language-sensitive element indicated by a language resource bundle for a received language key, restore the state of the application program, and resume execution of the application program. - View Dependent Claims (31, 32)
-
-
33. A method for providing multiple language support for at least one application program, the method comprising:
-
providing a plurality of language-resource bundles comprising associations between language keys and displayable language-sensitive elements, each of said language resource bundles corresponding to a different language; receiving a first language key; locating a language resource bundle corresponding to a currently-selected language; identifying a language-sensitive element associated with the first language key; preempting the application program; saving a state of the application program; discarding the graphical user interface being currently displayed by the application program; generating a new graphical user interface for the application program comprising at least one new language-sensitive element indicated by the located language resource bundle for the first language key; restoring the state of the application program; and resuming execution of the application program. - View Dependent Claims (34, 35)
-
-
36. A system for providing multiple language support for at least one application program, the system comprising:
a parser to parse a language resource file written in human-readable text and comprising descriptors of language keys and descriptors of language-sensitive elements and generate therefrom a language resource bundle comprising associations between language keys and displayable language-sensitive elements for a particular language;
wherein a language switching component is to preempt the application program, save a state of the application program, discard the graphical user interface being currently displayed, generate a new graphical user interface comprising at least one new language sensitive element indicated by a corresponding language resource bundle for a received language key, restore the state of the application program, and resume execution of the application program.- View Dependent Claims (37, 38, 39, 40, 41)
Specification