IP Library Granted Patent US 9,857,949
Granted Patent B2
US 9,857,949 · App. 15/376,822 · Granted Jan 2, 2018

Generating a context for translating strings based on associated application source code and markup

Inventors: Timothy S. Bartley (Worongary, AU); Gavin G. Bray (Robina, AU); Elizabeth M. Hughes (Australia Fair, AU); Kalvinder P. Singh (Miami, AU)
Assignee: International Business Machines Corporation
G06F3/0484G06F8/40G06F9/4448G06F17/2247G06F17/2836G06F17/2872
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,857,949
App. No.
15/376,822
Granted
Jan 2, 2018
Kind
B2
Abstract

An approach to generating a context for translating strings for a graphical user interface. The approach includes a computer receiving a string to be translated and associated source code, the string identified by a unique key within the associated source code and the associated source code is markup language. The computer identifies a first logical section of the associated source code corresponding to a unique key of the string and one or more graphical user interface components within the identified logical section of the associated source code. The computer then creates a mockup image presenting the one or more graphical user interface components and the string. The computer then labels, in the created mockup image, each of the one or more graphical user interface components and the first string of the plurality of strings, and identifies one or more additional graphical user interface components.

Claims (13)

1. A computer system for generating a context for translating strings for a graphical user interface, the computer system comprising:

one or more computer processors;

one or more computer readable storage devices; and

program instructions stored on at least one of the one or more computer readable storage devices for execution by at least one of the one or more computer processors, the stored program instructions executable by the at least one of the one or more computer processors to perform a method comprising:

receiving a string to be translated and associated source code, the string identified by a unique key within the associated source code, the unique key used to identify a location of the string, and wherein the associated source code is markup language;

identifying a first logical section of the associated source code corresponding to the unique key of the string;

identifying one or more graphical user interface components within the identified logical section of the associated source code, wherein the one or more graphical user interface components includes one or more of: widgets, pages, dialogs, images, and graphics;

creating a mapping of each string to be translated to the one or more graphical user interface components within the identified logical section of the associated source code;

grouping the string to be translated, and the mapping to the one or more graphical user interface components to provide a context for each string to be translated;

creating based, at least in part, on the grouping of the string to be translated and the mapping, a first mockup image presenting the one or more graphical user interface components and the string;

labeling in the created first mockup image, each of the one or more graphical user interface components and the first string of the plurality of strings;

identifying one or more additional graphical user interface components in one or more additional logical sections adjacent or near to the first logical section, wherein the one or more additional graphical user interface components include both graphical user interface components and an additional one or more strings to be translated; and

creating a second mockup image presenting the one or more graphical user interface components and the string, and the one or more additional graphical user interface components.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 13, 2016
From: BARTLEY, TIMOTHY S.; BRAY, GAVIN G.; HUGHES, ELIZABETH M.; SINGH, KALVINDER P.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 040720/0823 →
Continuity (4)
Continuation 15211293 · Jul 15, 2016
Continuation 14967888 · Dec 14, 2015
Continuation 13909386 · Jun 4, 2013
Related Publication 20170083200A1 · Mar 23, 2017