Client-Side Network Page Localization via Translation Bundles
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Web-based applications face challenges in internationalization and localization due to high costs associated with developing separate applications for each locale or relying on resource-intensive server-side translation approaches, especially for applications with high request volumes.
Innovation Solution
Implementing client-side localization by defining internationalized network page elements and providing localization code to clients, which replace internationalized elements with localized translations before rendering, using translation bundles and a network page server to manage and update translations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If server-side translation approach is used, then network pages can be translated for different locales, but server resources are consumed excessively
Solution Approach 1:
The patent extracts the translation function from the server and places it in the client browser. The server only provides the base network page and translation bundles, while the browser performs the actual translation by replacing internationalized elements with localized versions, thereby eliminating excessive server resource consumption.
Solution Approach 2:
The client browser performs self-service by automatically downloading translation bundles and executing translation code locally. The system uses the client's own computational resources to translate network pages, eliminating the need for continuous server-side translation processing.
2Adaptability or versatility
If separate applications are developed for each locale, then localization is achieved, but development cost increases significantly
Solution Approach 1:
The patent creates a universal network page structure with internationalized elements that can be adapted to multiple locales through translation bundles. Instead of developing separate applications for each locale, a single base application serves all locales by dynamically loading appropriate translation bundles, significantly reducing development costs.
Solution Approach 2:
The patent segments the application into a base network page containing internationalized elements and separate translation bundles for different locales. This segmentation allows the same base code to serve multiple languages by simply replacing the translation bundle, eliminating the need to develop and maintain separate applications for each locale.
3Adaptability or versatility
If parallel application installations are implemented, then multiple language support is achieved, but hosting cost increases
Solution Approach 1:
The patent merges all language-specific translations into a single base application structure. Instead of maintaining parallel installations for different languages, the system combines all translation bundles and loads them dynamically in the client browser, significantly reducing the hosting resources required while maintaining multi-language support.
Data Source
AI summary
Disclosed are various embodiments for client-side internationalization of network pages. A network page and code that localizes the network page are obtained from a server. The code that localizes the network page is executed in a client and determines a locale associated with the client. One or more internationalized elements are identified in the network page. The internationalized elements are replaced with corresponding localized translations. The network page is rendered for display in the client after the network page has been localized.


