Internationalization compiler and process for localizing server applications
OwnerMing Zhou, Bernhard J. Scholz +2inventors
InventorsMing Zhou, Bernhard J. Scholz, Brian T. Murren, Richard B. Arthur
Life of this patent
Estimating the term…
Abstract
A compilation and translation system internationalizes an application authored for one locale for use in other locales. The system automatically extracts locale-sensitive content (e.g., language, regional information, slang, cultural aspects, etc.) from the source code and other locale-independent elements (e.g., formatting data). The extracted content can then be translated for use in the other locales. During runtime, requests from different locales can be served locale-sensitive responses by retrieving the source code and dynamically populating it with the appropriate content for the target locale.
Claims56
A computer-implemented method comprising:
- analyzing a computer-servable document written for a particular locale;
- and
- extracting locale-sensitive content from the document while leaving locale-independent elements in the document.
A method comprising:
- examining source code in a document written for a particular locale;
- determining, from the source code, locale-sensitive content that is specific to the particular locale;
- extracting the locale-sensitive content from the source code;
- storing the locale-sensitive content in a separate file;
- and
- inserting, into the document in place of the locale-sensitive content, a reference to the locale-sensitive content in the separate file.
A method comprising:
- automatically compiling a computer-servable document written for a particular locale to extract any locale-sensitive content, the compiling producing a compiled document with locale-independent elements;
- and
- storing the locale-sensitive content in a form that can be translated to other locales.
A method comprising:
- compiling a computer-servable document written for a particular locale to extract any locale-sensitive content, the compiling producing a compiled document with locale-independent elements;
- storing the locale-sensitive content;
- and
- at runtime, retrieving the compiled document and populating the compiled document with the locale-sensitive content.
A method for producing a document to be served to a user in a particular locale, comprising:
- retrieving a locale-independent core that contains locale-independent elements;
- and
- populating the locale-independent core with locale-sensitive content that is appropriate for the particular locale.
A system comprising:
- at least one computer-servable document stored in a computer-readable medium, the document being written for a particular locale;
- and
- a compiler to automatically extract locale-sensitive content from the document to produce a compiled document containing locale-independent elements.
A compiler system comprising:
- a grammar containing rules for structuring source code;
- a content analyzer to analyze source code in a document written for a particular locale and to utilize the grammar to determine whether the source code contains locale-sensitive content that is specific to the particular locale, the content analyzer being configured to replace the locale-sensitive content in the source code with associated references to the replaced locale-sensitive content.
A system comprising:
- a resource bundle containing locale-specific content that is authored for a particular locale;
- and
- a resource bundle manager to populate a locale-independent document core with the locale-sensitive content in the resource bundle to produce a computer-servable document that is suitable to be served to the particular locale.
A system comprising:
- compilation means for compiling a computer-servable document written for a particular locale to extract any locale-sensitive content, the compilation means producing a compiled document with locale-independent elements;
- and
- storage means for storing the locale-sensitive content extracted from the computer-servable document in a data structure separate from the compiled document.
A system comprising:
- retrieval means for retrieving a document core containing locale-independent elements;
- and
- populating means for populating the document with locale-sensitive content to produce a computer-servable document that is appropriate for serving to a particular locale.
One or more computer-readable media comprising computer-executable instructions that, when executed, direct a computer to:
- examine source code in a document written for a particular locale;
- extract any locale-sensitive content from the source code;
- store the locale-sensitive content in a separate file;
- and
- substitute, in place of the locale-sensitive content in the document, a reference to the locale-sensitive content in the separate file.
One or more computer-readable media comprising computer-executable instructions that, when executed, direct a computer to:
- retrieve a core file containing source code and locale-independent elements;
- and
- populate the core file with locale-sensitive content that is appropriate for a particular locale to produce a document that can be served to the particular locale.
Dependencies are inferred from the claim text.