Browser Markup Parser for Automated Software Globalization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current software internationalization processes are manual, time-consuming, and inefficient, particularly for fast-evolving web distributable applications, making it challenging to quickly release computer programs across different languages and regions.
Innovation Solution
A method and system for software globalization management that involves parsing markup language tags in a browser to detect globalization tags, extracting internationalization keys, and retrieving translated textual resources from a remote repository based on locale settings, with the option of using a cache or API for efficient rendering.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If manual software internationalization processes are used, then implementation accuracy is maintained, but productivity is reduced and time consumption increases
Solution Approach 1:
The system enables automatic detection of globalization tags in markup, automated extraction of internationalization keys, and automated retrieval of translated resources based on locale settings. This self-service automation eliminates manual intervention in the internationalization workflow, directly resolving the contradiction between maintaining accuracy and improving productivity.
Solution Approach 2:
Translated textual resources are pre-stored in a remote repository organized by locale settings and internationalization keys. When needed, the system automatically retrieves these pre-prepared translations, eliminating the need for on-demand translation processing and significantly reducing internationalization time without sacrificing quality.
2Productivity
If automated translation retrieval is implemented, then productivity is improved, but device complexity increases
Solution Approach 1:
A globalization agent acts as an intermediary between the browser and the remote repository. This agent automatically detects globalization tags, extracts internationalization keys, determines locale settings, and retrieves appropriate translations. By introducing this intermediary layer, the system achieves high productivity while managing complexity through a dedicated, specialized component rather than distributing complexity throughout the entire system.
Solution Approach 2:
The internationalization system is segmented into distinct functional components: markup parsing, globalization tag detection, key extraction, locale determination, translation retrieval, and resource substitution. This segmentation allows each component to be independently developed, tested, and maintained, reducing overall system complexity while enabling efficient automated operation.
Data Source
AI summary
Embodiments of the present invention provide a method, system and computer program product for software globalization management. In an embodiment of the invention, a method for software globalization management includes loading markup in a browser for rendering in the browser and parsing the markup to identify different markup language tags disposed in the markup. Thereafter, on condition that during the parsing a globalization tag is detected, an internationalization key associated with a textual resource is extracted in connection with the globalization tag, a locale setting is retrieved for the browser, the key is submitted to remote repository with the locale setting in order to retrieve therefrom a translated form of the textual resource in accordance with the locale setting, the translated form of the textual resource is received in response to the requesting and the markup is rendered with the translated form of the textual resource.

