UI Text Translation Logic for Real-Time Software Localization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for internationalizing computer software require significant resource and manpower investments, lack real-time performance, and have poor universality in language translation, leading to incomplete and inflexible translation solutions.

Innovation Solution

Process the program code of computer software using a translation function embedded in the code logic for UI component text setting, enabling real-time machine translation and manual proofreading to adapt the software interface to user language environments without modifying language resource packages.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If traditional software internationalization methods are used, then translation coverage can be improved, but resource investment and system complexity increase significantly

Engineering Contradiction:
Improvetranslation coverageVSAvoidsystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent extracts the translation function from the traditional software internationalization system and embeds it directly into the UI component text setting code logic. This separation allows the translation capability to be independently managed and executed, reducing overall system complexity while maintaining comprehensive translation coverage.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The code logic with embedded translation function serves multiple purposes: it manages UI text setting, performs real-time translation, and adapts to different language environments. This multi-functionality eliminates the need for separate translation modules, reducing system complexity while improving translation coverage.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Productivity

If real-time translation is implemented, then user experience is improved, but resource consumption increases

Engineering Contradiction:
Improvetranslation speedVSAvoidresource consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The patent embeds the translation function in advance within the code logic for UI component text setting. This preliminary preparation allows translation to occur automatically and efficiently when text setting is called, achieving real-time translation without additional resource overhead during runtime.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The code logic performs translation autonomously as part of its normal text setting operation. The translation function serves itself by utilizing the existing code logic execution flow, eliminating the need for separate translation processes and reducing resource consumption.

Inventive Principle:
Principle #25Self-service

3Adaptability or versatility

If code logic is modified to include translation function, then translation flexibility is improved, but manufacturing complexity increases

Engineering Contradiction:
Improvetranslation flexibilityVSAvoidcode modification complexity
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The patent merges the translation function with the existing code logic for UI component text setting. This combination allows translation flexibility to be achieved through a single integrated code structure, reducing the complexity of separate translation module implementation and maintenance.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS12517708B2Method for software translation, electronic device, and non-transitory computer-readable storage medium
Publication Date: 2026.01.06 NETEASE (HANGZHOU) NETWORK CO LTD
  • US12517708B2 patent drawing
  • US12517708B2 patent drawing
  • US12517708B2 patent drawing

AI summary

A method for software translation, including: running a target software program and determining a target file in the target software program, where the target file comprises a code logic for a first interface text setting; setting a code logic with a translation function in a code logic for a first interface text setting, and translating original text information in a software interface through the code logic with the translation function to obtain target text information; and displaying a corresponding software interface according to the target text information through a code logic for a second interface text setting.