Multilingual Game Text Replacement via Hash-Based Dictionary Lookup
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional multilingual game programs require significant effort to correct and maintain multiple language versions of text data, as changes need to be made across all program data when switching languages, leading to a heavy burden due to the large amount of data involved.
Innovation Solution
A system where a main program includes first data displayed in a first language, with associated language data for a second language using identification information, allowing for dynamic retrieval and replacement of text data to display the second language on a computer's display section without altering existing program data, using hashing to facilitate multilingualization.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If multiple language versions of program data are prepared in advance, then multilingual support is achieved, but the burden of correction and maintenance work increases significantly
Solution Approach 1:
The patent segments the language data from the main program by extracting text data into a separate dictionary file. The main program contains only identification information (keys) that reference the dictionary file, which stores all language-specific text data. This segmentation allows the program logic to remain language-neutral while maintaining full multilingual support, significantly reducing maintenance burden when text changes are needed.
Solution Approach 2:
The patent extracts text data from the embedded format within the main program and stores it externally in a dictionary file. This extraction separates the functional program code from the linguistic content, allowing independent management and updating of language data without affecting the main program structure or requiring recompilation of the entire program.
2Adaptability or versatility
If program data is prepared for each language, then language switching is enabled, but the amount of data to be managed increases
Solution Approach 1:
The patent creates a universal dictionary file structure where a single file serves all language needs. The dictionary file contains text data for multiple languages organized by identification information, allowing the system to support any language by simply changing the key reference without requiring separate program files for each language. This multi-functional approach consolidates what would otherwise be multiple separate data sets into one unified resource.
3Adaptability or versatility
If all language texts are included in the game program, then complete multilingualization is achieved, but the initial program size increases
Solution Approach 1:
The patent performs preliminary organization of language data in a standardized dictionary format during program development. By pre-structuring the dictionary file with proper identification information and text data pairings, the system enables efficient language switching at runtime without requiring additional processing or increasing program size. The preliminary structuring allows compact storage and quick retrieval of language data.
Data Source
AI summary
A non-transitory computer readable recording medium has stored thereon instructions to be executed on a computer providing terminal device with a game. The recording medium includes, for example, a main program described with Japanese text data, and language data in which English text data is associated with identification information (hash value). The instructions cause the computer to perform the steps of: setting a language to be displayed on a display section; generating a retrieval key by performing data processing on the first data to be displayed that is included in the main program when the second language is set as a language to be displayed; and extracting the second data to be displayed that includes the identification information corresponding to the generated key, and replacing the first data to be displayed with the second data to be displayed to display the second data to be displayed on the display section.


