Webpage Content Translation via Location Mapping
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing webpage translation methods fail to capture the context of content, leading to inaccurate translations when content is distributed across multiple objects and frames, as isolated translations do not consider surrounding words, images, or format.
Innovation Solution
The method involves modifying content strings in resource files to include key information that maps to specific positions on a webpage or document object model, allowing for context-sensitive translation by embedding data indicative of the location, which is then used to generate a pseudo string and convert back to the original string form for accurate translation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If content is extracted and translated individually from webpage objects, then translation processing can be performed on isolated content units, but the translation fails to capture webpage context leading to inaccurate translations
Solution Approach 1:
The patent merges individual content translations with their contextual information by embedding location data (document object model path, surrounding content) into the translation process. This allows isolated content units to be translated while preserving their context, resolving the contradiction between processing efficiency and translation accuracy.
Solution Approach 2:
The patent introduces location information as an intermediary element that connects translated content to its original context. This intermediary includes document object model paths and surrounding content descriptions, enabling the translation system to maintain context awareness without requiring complete webpage reconstruction.
2Ease of operation
If webpage content is distributed across multiple objects and frames, then content can be extracted and translated individually, but context information is lost and translation quality deteriorates
Solution Approach 1:
The patent performs preliminary action by capturing location information and context data at the time of content extraction. Document object model paths and surrounding content are recorded before translation, ensuring that context is preserved even when content is distributed across multiple objects and frames.
Solution Approach 2:
The patent embeds context information nested within the translation data structure. Location information, document object model paths, and surrounding content descriptions are nested within the translated content objects, allowing context to be maintained without increasing the external structure complexity.
3Manufacturing precision
If context-sensitive translation is implemented to improve translation accuracy, then translation quality improves, but processing complexity and resource requirements increase
Solution Approach 1:
The patent applies local quality by providing context information only where needed for each specific content element. Instead of analyzing the entire webpage context for all content, the system provides localized context (surrounding content, location) relevant to each individual translation task, reducing overall system complexity while maintaining accuracy.
Data Source
AI summary
A content string can be identified from a resource file that defines one or more webpages of a web site. The content string can include particular content to be displayed in a webpage. The resource file can indicate a location associated with the particular content relative to other content to be displayed in the webpage. The webpage can be of the one or more webpages and associated with the content string. Key information for the content string can be identified. The key information can be unique relative to other key information associated with other content strings in the one or more resource files. A modified content string can be generated that includes the content, identifier of the resource file, and key information. The one or more resource files can be updated to include the modified content string. The one or more resource files can be transmitted to a receiving device.


