System and method for providing dynamic multiple language support for application programs
First Claim
1. A system for providing multiple language support forat least one application program, comprising:
- a plurality of language resource bundles, stored on a computer-readable storage medium, comprising associations between language keys and displayable language-sensitive elements, at least some of the plurality of language resource bundles corresponding to different languages, wherein at least one of the associations is specific to a particular application and at least one of the associations is applicable to a plurality of applications, such that each of the plurality of language resource bundles includes both application-specific and generic associations;
a language resource manager, stored on a computer-readable storage medium, configured to receive a first language key, locate a first language resource bundle corresponding to a first selected language, identify within the first language resource bundle a first language-sensitive element associated with the first language key, provide the first language-sensitive element to an application program for display in a graphical user interface, receive a second language key, locate a second language resource bundle corresponding to a second selected language, identify within the second language resource bundle a second language-sensitive element associated with the second language key, and provide the second language-sensitive element to the application program to replace the first language-sensitive element in the graphical user interface; and
a language switching component stored on a computer-readable storage medium and configured to preempt application programs, discard a currently displayed graphical user interface, generate a new graphical user interface comprising at least one new language-sensitive element for a received language key, and resume execution of preempted application programs.
4 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.
-
Citations
36 Claims
-
1. A system for providing multiple language support for
at least one application program, comprising: -
a plurality of language resource bundles, stored on a computer-readable storage medium, comprising associations between language keys and displayable language-sensitive elements, at least some of the plurality of language resource bundles corresponding to different languages, wherein at least one of the associations is specific to a particular application and at least one of the associations is applicable to a plurality of applications, such that each of the plurality of language resource bundles includes both application-specific and generic associations; a language resource manager, stored on a computer-readable storage medium, configured to receive a first language key, locate a first language resource bundle corresponding to a first selected language, identify within the first language resource bundle a first language-sensitive element associated with the first language key, provide the first language-sensitive element to an application program for display in a graphical user interface, receive a second language key, locate a second language resource bundle corresponding to a second selected language, identify within the second language resource bundle a second language-sensitive element associated with the second language key, and provide the second language-sensitive element to the application program to replace the first language-sensitive element in the graphical user interface; and a language switching component stored on a computer-readable storage medium and configured to preempt application programs, discard a currently displayed graphical user interface, generate a new graphical user interface comprising at least one new language-sensitive element for a received language key, and resume execution of preempted application programs. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A method for providing multiple language support for at least one application program, comprising:
-
receiving a first language key; locating a first language resource bundle corresponding to a first selected language, wherein the first language resource bundle is selected from a plurality of language resource bundles comprising associations between language keys and displayable language-sensitive elements, at least some of the plurality of language resource bundles corresponding to different languages, wherein at least one of the associations is specific to a particular application and at least one of the associations is applicable to a plurality of applications, such that at least some individual resource bundles include both application-specific and generic associations; identifying within the first language resource bundle a first language-sensitive element associated with the first language key; providing the first language-sensitive element to an application program for display in a graphical user interface; receiving a second language key; locating a second language resource bundle corresponding to a second selected language; identifying within the second language resource bundle a second language-sensitive element associated with the second language key; providing the second language-sensitive element to the application program to replace the first language-sensitive element in the graphical user interface, wherein providing the second language-sensitive element comprises; preempting the application program; discarding a graphical user interface; generating a new graphical user interface comprising the second language-sensitive element; and resuming execution of the application program. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
-
-
33. A system for providing multiple language support for at least one application program, comprising:
-
a parser, stored on a computer-readable storage medium, configured to parse a language resource file comprising descriptors of language keys and descriptors of language-sensitive elements and to generate therefrom a language resource bundle, wherein the descriptors of language keys and descriptors of language-sensitive elements are editable as human-readable text; a plurality of language resource bundles, generated by the parser, comprising associations between language keys and displayable language-sensitive elements, at least some of the plurality of language resource bundles corresponding to different languages; a language resource manager, stored on a computer-readable storage medium, configured to replace at least some of a plurality of language-sensitive elements displayed in a graphical user interface with new language-sensitive elements in response to a change from a first selected language to a second selected language, wherein the language resource manager is configured to receive language keys for the respective language-sensitive elements of the graphical user interface and use the language keys to identify corresponding language-sensitive elements in a particular language resource bundle associated with the second language; and a language switching component stored on a computer-readable storage medium and configured to preempt application programs, discard a currently displayed graphical user interface, generate a new graphical user interface comprising at least one new language-sensitive element for a received language key, and resume execution of preempted application programs.
-
-
34. A system for providing multiple language support for at least one application program, the system comprising:
a language switching component embodied on a computer-readable storage medium and configured to; preempt an application program; save a state of the application program; discard a graphical user interface; 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.
-
35. A method comprising:
-
preempting an application program; saving a state of the application program; discarding a graphical user interface; generating a new graphical user interface comprising at least one new language-sensitive element indicated by a language resource bundle for a received language key; restoring the state of the application program; and resuming execution of the application program.
-
-
36. A tangible computer-readable medium having stored thereon, computer-executable instructions that, if executed by a computing device, cause the computing device to perform a method comprising:
-
preempting an application program; saving a state of the application program; discarding a graphical user interface; generating a new graphical user interface comprising at least one new language-sensitive element indicated by a language resource bundle for a received language key; restoring the state of the application program; and resuming execution of the application program.
-
Specification