API to enforce internationalization
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 21.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
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-loggin
- Claim 2Depends on #1
The computer-implemented method of claim 1 , wherein the passi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 21 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (2)
- Kokkotos et al. "An architecture for designing internationalized software" 1997 IEEE, pp. 13-21.
- Piroumian "Internationalization support in Java" 1997 IEEE, pp. 20-29.