System and method for term localization differentiation using a resource bundle generator
First Claim
Patent Images
1. A method for differentiating a localized message utilizing a resource bundle generator, the method comprising the steps of:
- maintaining a list of said plurality of localized differentiated terms parsing a source program for a token;
transmitting said token to said list of said plurality of localized terms, said token includes at least two keys, wherein a first key is a general translation key and a second key of said at least two keys is used in term differentiation when said localized terms have multiple meanings;
registering said token within said list of said plurality of localized differentiated terms; and
generating an object code of said source code, including said token.
3 Assignments
0 Petitions
Accused Products
Abstract
An apparatus and method providing flexible message differentiation of localized terms utilizing a resource bundle generator. In particular, the apparatus and method are accomplished by having a system and method for term localization differentiation. The message differentiation apparatus and method utilize a second key to assist the resource bundle generator in the localization of the input string. The second key should be descriptive and provide some context of the string to be translated. If the string being localized is a message, the second key should characterize the string in the proper context.
90 Citations
20 Claims
-
1. A method for differentiating a localized message utilizing a resource bundle generator, the method comprising the steps of:
-
maintaining a list of said plurality of localized differentiated terms parsing a source program for a token;
transmitting said token to said list of said plurality of localized terms, said token includes at least two keys, wherein a first key is a general translation key and a second key of said at least two keys is used in term differentiation when said localized terms have multiple meanings;
registering said token within said list of said plurality of localized differentiated terms; and
generating an object code of said source code, including said token. - View Dependent Claims (2, 3, 4, 5)
determining if said source code is compliant with a plurality of syntax rules.
-
-
3. The method of claim 2, wherein said compliant determining step further comprises the step of:
transmitting a error token to said resource bundle generator if said source code is not compliant with anyone of said plurality of said syntax rules.
-
4. The method of claim 1, wherein said parsing step further comprises the step of:
-
determining if said token includes only one key; and
generating a duplicate of said only one key, in said token.
-
-
5. The method of claim 1, wherein the step of generating object code further includes the step of:
utilizing said token for displaying of text messages in a language other than said source code original language.
-
6. A system for differentiation of a localized message utilizing a resource bundle generator, said differentiating system comprising:
-
a means for maintaining a list of a plurality of localized differentiated terms;
a means for parsing a source program for a token;
a means for transmitting said token to said list of said plurality of localized terms, said token includes at least two keys, wherein a first key is a general translation key and a second key of said at least two keys is used in term differentiation when said localized terms have multiple meanings;
a means for registering said token within said list of said plurality of localized differentiated terms; and
a means for generating an object code of said source code, including said token. - View Dependent Claims (7, 8, 9, 10)
a means for determining if said source code is compliant with a plurality of syntax rules.
-
-
8. The system of claim 7, wherein the compliant determining means further comprises:
a means for transmitting an error token to said resource bundle generator if said source code is not compliant with anyone of said plurality of said syntax rules.
-
9. The system of claim 6, wherein the parsing means further comprises:
-
means for determining if said token includes only one key; and
means for generating a duplicate of said only one key, in said token.
-
-
10. The system of claim 6, wherein the generating object code means further comprises:
means for utilizing said token for displaying of text messages in a language other than said source code original language.
-
11. A system for differentiation of a localized message, said differentiating system comprising:
-
a memory;
a source program in said memory;
a message translation library including a plurality of registered translation messages;
a resource bundle generator for localizing a message, said resource bundle generator parses said source program for a message translation call that includes at least two keys, wherein a first key is a general translation key and a second key is a differention key when said messages have multiple meanings, said resource bundle generator transmits said message translation call including said differention key to said message translation library for message translation registration;
whereby a program compiler generates an object code version of said source code that contains said message translation call, including said differention key. - View Dependent Claims (12, 13, 14, 15)
a logic configured to determine if said source code is compliant with a plurality of syntax rules.
-
-
13. The system of claim 12, wherein said message translation library further comprises:
a logic configured to transmit an error message to said resource bundle generator if said source code is not compliant with anyone of said plurality of said syntax rules.
-
14. The system of claim 11, wherein said resource bundle generator further comprises:
-
a logic configured to determine if said message translation call includes said second key for indicating that differentiation of a localized message is required;
wherein said determination logic selects said second key to be included in said transmission of said a message translation call to said message translation library for message translation; and
wherein said determination logic defaults selection to said first key for transmission of said message translation call to said message translation library for message translation if said second key is omitted.
-
-
15. The system of claim 11, wherein said object code further comprises:
a logic configured to utilize said message translation call to display a text message in a language other than original language of said source code.
-
16. A message internationalization differentiation product for differentiation of a internationalized message utilizing a resource bundle generator, said differentiating product comprising:
-
a computer readable recording medium;
a means recorded on the medium for maintaining a list of a plurality of localized differentiated terms;
a means recorded on the medium for parsing a source program for a token;
means recorded on the medium for transmitting said token to said list of said plurality of localized terms, said token includes at least two keys, wherein a first key is a general translation key and a second key of said at least two keys is used in term differentiation when said localized terms have multiple meanings;
a means recorded on the medium for registering said token within said list of said plurality of localized differentiated terms; and
a means recorded on the medium for generating an object code of said source code, including said token. - View Dependent Claims (17, 18, 19, 20)
a first routine means, responsive to the parsing means, for determining if said source code is compliant with a plurality of syntax rules.
-
-
18. The product of claim 17, wherein the parsing means further comprising:
a second routine means, responsive to the compliant determining means, for transmitting an error token if said source code is not compliant with anyone of said plurality of said syntax rules.
-
19. The product of claim 16, wherein the parsing means further comprising:
-
a means recorded on the medium for determining if said token includes only one key; and
a means recorded on the medium for generating a duplicate of said only one key, in said token.
-
-
20. The product of claim 16, wherein the generating means further comprises:
a third routine means, responsive to said maintaining means, for utilizing said token to display said text messages in a language other than said source code original language.
Specification