IP Library Granted Patent US 6,938,259
Granted Patent B2
US 6,938,259 · App. 09/968,553 · Granted Aug 30, 2005

API to enforce internationalization

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 6,938,259
App. No.
09/968,553
Granted
Aug 30, 2005
Kind
B2
Abstract

A method for enforcing internationalization uses pre-logging subroutines, i.e., helper methods, to determine whether a high priority debug log message is localized, and reject a string message that is not localized in a user's native language. A localized message may be constructed by passing message keys and parameters to a translation subroutine, which is implemented by a localized messaged factory. As a result, only a localized message may be passed to the helper methods, and the localized message is typically translated into a text string in the user's native language before being passed to a raw logging interface to be logged, thus automatically enforcing internationalization.

Claims (34)

1. A computer-implemented method for enforcing internationalization, comprising:

receiving a message from a client program wherein the message includes keys and parameters;

passing the keys and parameters to a translation subroutine, wherein the translation subroutine translates the message into a localized message;

calling a pre-logging subroutine, wherein the pre-logging subroutine is capable of determining whether the message is localized, and wherein the pre-logging subroutine rejects a non-localized message;

only passing a localized message in a user's native language from the pre-logging subroutine to a raw logging ace to be logged; and

wherein the raw logging interface cannot be implemented as a public interface and cannot be accessible by users working on the client program.

2. The computer-implemented method of claim 1 , wherein the passing step includes creating a message template foil the keys and parameters in a developer's native language.

3. The computer-implemented method of claim 2 , wherein the passing step further includes translating the message template in the developer's native language into a message template in a user's native language.

4. The computer-implemented method of claim 1 , further comprising logging the localized message.

5. The computer-implemented method of claim 1 , wherein the calling step includes calling a helper method for operational logging.

6. The computer-implemented method of claim 1 , wherein the calling step includes calling a helper method that processes operational log messages.

7. The computer-implemented method of claim 1 , wherein the passing step includes translating the message into a user's native language by a localized message factory.

8. A logging system application programming interface (API) executing on a computer system, comprising:

one or more translation subroutine that receives keys and parameters of a message, wherein the one or more translation subroutine translates the message into a localized message;

one or more pre-logging subroutines capable of determining whether the message is a localized message, wherein the one or more pre-logging subroutines rejects a non-localized message, and wherein the one or more pre-logging subroutines only pass a localized message in a user's native language to a raw logging interface to be logged;

the raw logging interface that writes the message to a log; and

wherein the raw logging interface cannot be implemented as a public interface and cannot be accessible by users working on the client program.

9. The logging system API of claim 8 , wherein if the message is localized, the one or more pre-logging subroutines pass strings of the localized message to the raw logging interface to be logged.

10. The logging system API of claim 8 , wherein the one or more translation subroutine creates a message template for the key and parameters.

11. The logging system API of claim 8 , wherein the one or more pre-logging subroutines are helper methods for operational logging.

12. The logging system API of claim 8 , wherein the one or more pre-logging subroutines process operational log messages.

13. The logging system API of claim 8 , wherein the translation subroutine is implemented by a localized message factory.

14. A tangible computer readable medium providing instructions for enforcing internationalization, the instructions comprising:

receiving a message from a client program, wherein the message includes keys and parameters;

passing the keys and parameters to a translation subroutine, wherein the translation subroutine translates the message into a localized message;

calling a pre-logging subroutine, wherein the pre-logging subroutine is capable of determining whether the message is localized, and wherein the pre-logging subroutine rejects a non-localized messages;

only passing a localized message in a user's native language from the pre-logging subroutine to a raw logging interface to be logged; and

wherein the raw logging interface cannot be implemented as a public interface and cannot be accessible by users working on the client program.

15. The tangible computer readable medium of claim 14 , wherein the instructions for passing include instructions for creating a message template for the keys and parameters in a developer's native language.

16. The tangible computer readable medium of claim 15 , wherein the instructions for passing further include instructions for translating the message template in the developer's native language into a message template in a user's native language.

17. The tangible computer readable medium of claim 14 , further comprising instructions for logging the localized message.

18. The tangible computer readable medium of claim 14 , wherein the instructions for calling include instructions for calling a helper method for operational logging.

19. The tangible computer readable medium of claim 14 , wherein the instructions for calling include instructions for calling a helper method that processes operational log messages.

20. The tangible computer readable medium of claim 14 , wherein the instructions for passing include instructions for translating the message into a user's native language by a localized message factory.

Assignments (5)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 26, 2021
From: OT PATENT ESCROW, LLC
To: VALTRUS INNOVATIONS LIMITED
Reel/Frame 057650/0537 →
PATENT ASSIGNMENT, SECURITY INTEREST, AND LIEN AGREEMENT Recorded Jan 26, 2021
From: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP; HEWLETT PACKARD ENTERPRISE COMPANY
To: OT PATENT ESCROW, LLC
Reel/Frame 055269/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 9, 2015
From: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
To: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
Reel/Frame 037079/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 30, 2003
From: HEWLETT-PACKARD COMPANY
To: HEWLETT-PACKARD DEVELOPMENT COMPANY L.P.
Reel/Frame 014061/0492 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 20, 2002
From: MCGEORGE, JR., VERNON E.
To: HEWLETT-PACKARD COMPANY
Reel/Frame 012640/0653 →