Stack-based adaptive localization and internationalization of applications
First Claim
Patent Images
1. A computer-implemented method for facilitating use of an application executing on an electronic device, comprising:
- detecting a change in a locale setting of the application;
upon detecting the change in the locale setting, identifying one or more languages associated with the locale setting;
obtaining a language stack comprising an ordered set of preferred languages for a user of the application;
adding the identified one or more languages to the language stack;
obtaining a business-logic stack that includes one or more sets of business rules corresponding to one or more tax codes associated with a specified globalization setting for the application, wherein the specified globalization setting comprises at least one of;
a city;
a state;
a country;
an organization; and
a category; and
for each user-interface component from a set of user-interface components in the application, wherein the set of user-interface components is created by a localization mechanism associated with a platform of the electronic device;
dynamically obtaining content for the user-interface component from a content-repository based on an order of languages in the language stack and on an order of the one or more sets of business rules in the business-logic stack, wherein the content-repository is a store of language-specific and tax-code-specific content for the user-interface components associated with the application; and
including, via the localization mechanism associated with the platform of the electronic device, the content in the user-interface component during use of the application on the electronic device by the user.
1 Assignment
0 Petitions
Accused Products
Abstract
The disclosed embodiments provide a system that facilitates use of an application. During operation, the system obtains a language stack containing an ordered set of preferred languages for a user of the application. Next, for each user-interface component from a set of user-interface components in the application, the system obtains content for the user-interface component based on an order of languages in the language stack. The system then includes the content in the user-interface component during use of the application on an electronic device by the user.
110 Citations
16 Claims
-
1. A computer-implemented method for facilitating use of an application executing on an electronic device, comprising:
-
detecting a change in a locale setting of the application; upon detecting the change in the locale setting, identifying one or more languages associated with the locale setting; obtaining a language stack comprising an ordered set of preferred languages for a user of the application; adding the identified one or more languages to the language stack; obtaining a business-logic stack that includes one or more sets of business rules corresponding to one or more tax codes associated with a specified globalization setting for the application, wherein the specified globalization setting comprises at least one of;
a city;
a state;
a country;
an organization; and
a category; andfor each user-interface component from a set of user-interface components in the application, wherein the set of user-interface components is created by a localization mechanism associated with a platform of the electronic device; dynamically obtaining content for the user-interface component from a content-repository based on an order of languages in the language stack and on an order of the one or more sets of business rules in the business-logic stack, wherein the content-repository is a store of language-specific and tax-code-specific content for the user-interface components associated with the application; and including, via the localization mechanism associated with the platform of the electronic device, the content in the user-interface component during use of the application on the electronic device by the user. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system for facilitating use of an application executing on an electronic device, comprising:
-
a language-management apparatus configured to; detect a change in a locale setting of the application; identify one or more languages associated with the locale setting upon detecting the change in the locale setting; obtain a language stack comprising an ordered set of preferred languages for a user of the application; and add the identified one or more languages to the language stack; an internationalization apparatus configured to; obtain a business-logic stack that includes one or more sets of business rules corresponding to one or more tax codes associated with a specified globalization setting for the application, wherein the specified globalization setting comprises at least one of;
a city;
a state;
a country;
an organization; and
a category; anda localization apparatus configured to; for each user-interface component from a set of user-interface components in the application, wherein the set of user-interface components is created by the localization apparatus; dynamically obtain content for the user-interface component from a content-repository based on an order of languages in the language stack and on an order of the one or more sets of business rules in the business-logic stack, wherein the content-repository is a store of language-specific and tax-code-specific content for the user-interface components associated with the application; and include the content in the user-interface component during use of the application on an electronic device by the user, wherein the localization apparatus is associated with a platform of the electronic device. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for facilitating use of an application executing on an electronic device, the method comprising:
-
detecting a change in a locale setting of the application; upon detecting the change in the locale setting, identifying one or more languages associated with the locale setting; obtaining a language stack comprising an ordered set of preferred languages for a user of the application; adding the identified one or more languages to the language stack; obtaining a business-logic stack that includes one or more sets of business rules corresponding to one or more tax codes associated with a specified globalization setting for the application, wherein the specified globalization setting comprises at least one of;
a city;
a state;
a country;
an organization; and
a category; andfor each user-interface component from a set of user-interface components in the application, wherein the set of user-interface components is created by a localization mechanism associated with a platform of the electronic device; dynamically obtaining content for the user-interface component from a content-repository based on an order of languages in the language stack and on an order of the one or more sets of business rules in the business-logic stack, wherein the content-repository is a store of language-specific and tax-code-specific content for the user-interface components associated with the application; and including, via the localization mechanism associated with the platform of the electronic device, the content in the user-interface component during use of the application on the electronic device by the user. - View Dependent Claims (13, 14, 15, 16)
-
Specification