On-Demand Localization in Microservice Applications

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing microservice application environments face challenges in efficiently providing localized user interface labels across multiple services, leading to increased network calls and bandwidth consumption.

Innovation Solution

An on-demand localization system that uses a centralized REST API to retrieve localized user interface labels for each module in a single call, reducing unnecessary network traffic and improving performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If locale-specific bundles are hosted at one microservice to reduce network calls, then the number of network calls is reduced, but the bundle size grows exponentially making it unwieldy and difficult to maintain

Engineering Contradiction:
Improvenetwork call overheadVSAvoidbundle size and maintainability
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The patent segments the monolithic application into multiple microservices, each responsible for specific functionality and its own locale-specific bundles. This allows localization data to be distributed across services rather than consolidated into one large bundle, reducing both network call overhead and bundle complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts locale-specific information from the main application flow and handles it separately through an on-demand localization service. This extraction allows the system to retrieve only the specific localization data needed for each user interface element, rather than transmitting entire locale bundles.

Inventive Principle:
Principle #2Taking out (Extraction)

2Adaptability or versatility

If large locale bundles are loaded onto the client browser, then all localization needs are met, but bandwidth and browser memory are consumed excessively

Engineering Contradiction:
Improvelocalization coverageVSAvoidbandwidth and memory consumption
Core Design Contradiction:
Adaptability or versatilityVSLoss of energy

Solution Approach 1:

The patent implements local quality by having each microservice maintain its own locale-specific bundles locally. This allows the client to retrieve small, targeted portions of localization data from specific services rather than loading complete locale bundles, reducing bandwidth and memory consumption while maintaining full localization adaptability.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system performs preliminary action by pre-configuring each microservice with its own locale bundles, so that when a user requests localization, the data is already prepared and available at the service level. This eliminates the need to transfer large bundles to the client, as only small, specific localization strings are retrieved on-demand.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If each page retrieves locale-specific information from all comprising services, then complete localization is achieved, but multiple network calls are required

Engineering Contradiction:
Improvelocalization completenessVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent introduces an intermediary localization service that coordinates between the client and multiple microservices. This intermediary receives localization requests, determines which specific services have the required locale data, and orchestrates the retrieval process efficiently. This ensures complete localization while minimizing network calls by avoiding redundant requests to all services.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12321765B2System and method for providing on-demand localization in a microservice application environment
Publication Date: 2025.06.03 ORACLE INT CORP
  • US12321765B2 patent drawing
  • US12321765B2 patent drawing
  • US12321765B2 patent drawing

AI summary

In accordance with an embodiment, described herein is a system and method for providing on-demand localization in a microservice application environment. Generally described, an on-demand localization environment enables the system to serve localized user interface labels for an existing, e.g., monolith application, on-demand-without impacting the existing setup of the application or its present means of handling localizations. The described approach can ensure that only the localization which is needed for a particular user interface or visited page is served, without incurring additional round-trips back to the server for user interface messages that could have been served from the client. For applications and user interfaces comprising more than one module, the system can retrieve the localization for each of the modules in a single call.