Translatability Verification Daemon for Code Check-in

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current software development tools lack an automated real-time method to detect and prevent translatability issues caused by hardcoded strings in source code, which can lead to errors when executed by non-native speakers, and these issues are error-prone and difficult to verify during globalization enablement development.

Innovation Solution

A system and method for verifying translatability compliance of new code using a translatability verification daemon that intercepts check-in requests, determines if hardcoded messages are present, and sends warnings or enables check-in based on compliance, incorporating globalization enablement development and real-time translatability error prevention through semantic examination and similarity comparison.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If automated real-time verification of translatability compliance is implemented, then translatability errors are detected and prevented, but system complexity increases

Engineering Contradiction:
Improvetranslatability complianceVSAvoidverification system
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system performs translatability compliance verification in advance during the check-in process, before the code is deployed or executed. The daemon intercepts check-in requests, analyzes the new code for hardcoded strings and translatability issues, and provides feedback to developers before the code becomes part of the main repository, preventing errors from propagating.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

A translatability verification daemon is introduced as an intermediary component between the developer's check-in request and the version control system. This daemon automatically analyzes code for translatability compliance without requiring direct human intervention, acting as a mediator that enforces globalization standards while allowing legitimate check-ins to proceed.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If real-time verification of new code is performed, then translatability compliance is ensured, but development productivity decreases

Engineering Contradiction:
Improvetranslatability complianceVSAvoiddevelopment speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The verification system operates autonomously by automatically intercepting check-in requests, analyzing code for translatability compliance, and providing immediate feedback without requiring manual review. The daemon process independently determines whether to allow check-in or send warning notifications, eliminating the need for human verification and maintaining fast development cycles.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system provides immediate feedback to developers during the check-in process by sending warning notifications when translatability issues are detected. This real-time feedback allows developers to correct issues on the spot rather than waiting for later testing or deployment phases, maintaining productivity while ensuring compliance.

Inventive Principle:
Principle #23Feedback

3Reliability

If hardcoded messages are detected and warnings are sent, then translatability issues are prevented, but development workflow is interrupted

Engineering Contradiction:
Improvetranslatability complianceVSAvoidcheck-in process
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system sends warning notifications for potential translatability issues but does not completely block the check-in process. Developers receive warnings about hardcoded messages and can choose to address them or proceed with the check-in, allowing critical path development to continue while still highlighting issues that should be resolved.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10095600B2Real-time globalization verification on development operations
Publication Date: 2018.10.09 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10095600B2 patent drawing
  • US10095600B2 patent drawing
  • US10095600B2 patent drawing

AI summary

Technical solutions are described for verifying translatability compliance of a new code for a computer program product includes receiving a notification about a check-in request for the new code, and in response determining whether to verify the translatability compliance of the new code. The method further includes, in response to the translatability compliance being verified, determining whether the new code includes a hardcoded message. Further, in response to identifying the hardcoded message, the method includes sending a warning notification to a developer of the new code. Also, the method includes enabling the check-in of the new code in response to the translatability compliance not being verified.