# US 10,481,928 B2 · Providing user interface language options

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,481,928 B2
- Document ID: US10481928B2
- Status: Granted
- Kind: B2
- Application number: 15/378,631
- Filed: 2016-12-14
- Published: 2018-06-14
- Granted: 2019-11-19
- Earliest claimed: 2016-12-14
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Jenny J. He; Adrian P. Kyte; Tobias Leicher; Guan Jun Liu; Joseph R. Winchester; Bei Chun Zhou
- Web page: https://patentgrep.com/patent/US10481928B2

## CPC

- G06F 9/454: {Multi-language systems; Localisation; Internationalisation}
- G06F 8/38: for implementing user interfaces
- G06F 40/47: Machine-assisted translation, e.g. using translation memory
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

User interface (UI) language options are provided. A request event of a visible text string for a UI element is identified. A user value area of a control of the UI element is inspected to obtain a resource bundle name and key for one or more language equivalents of the text string of the UI element. A menu option is added to the request event by retrieving the language equivalent of the text string in one or more languages from a resource bundle of the application using the resource bundle name and key.

## Claims

### Claim 1

A computer system for providing user interface (UI) options carried out by a user interface adapter, the computer system comprising:
a memory; and
a processor in communication with the memory, wherein the computer system is configured to perform a method, said method comprising:
identifying a request event relating to a text string in a first human language for a UI element of user interaction of an application;
inspecting a user value area of a control of the UI element to obtain a resource bundle name and key for one or more second human language equivalents of the text string of the UI element, wherein the one or more second human language equivalents is a different human language from the first human language and is provided in context as part of the application; and
adding a menu option to the request event by retrieving at least one of the one or more second human language equivalents from a resource bundle of the application using the resource bundle name and key.

### Claim 2 (depends on 1)

The computer system as claimed in claim 1, wherein the resource bundle name and key are stored at the user value area of the control of the UI element as a result of the resource bundle name and key having been transmitted by code inserted into object code by a pre-compiler component.

### Claim 3 (depends on 1)

The computer system as claimed in claim 1, wherein the method further comprises determining the at least one of the one or more second human language equivalents that are available in the resource bundle by referencing the resource bundle name and key, wherein the adding the menu option adds a menu option for each second human language equivalent.

### Claim 4 (depends on 1)

The computer system as claimed in claim 1, wherein the method further comprises:
intercepting a selection of the menu option of the request event;
locating the bundle name and key for the at least one of the one or more second human language equivalents;
retrieving a human language equivalent value by looking up a named resource bundle and identifying a properties file for the language equivalent and retrieving a value for the specified key; and
carrying out the request event with the human language equivalent value.

### Claim 5

A computer program product for providing user interface (UI) options carried out by a user interface adapter, the computer program product comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
identifying a request event relating to a text string in a first human language for a UI element of user interaction of an application;
inspecting a user value area of a control of the UI element to obtain a resource bundle name and key for one or more second human language equivalents of the text string of the UI element, wherein the one or more second human language equivalents is a different human language from the first human language and is provided in context as part of the application; and
adding a menu option to the request event by retrieving at least one of the one or more second human language equivalents from a resource bundle of the application using the resource bundle name and key.

### Claim 6 (depends on 5)

The computer program product as claimed in claim 5, wherein the resource bundle name and key are stored at the user value area of the control of the UI element as a result of the resource bundle name and key having been transmitted by code inserted into object code by a pre-compiler component.

### Claim 7 (depends on 5)

The computer program product as claimed in claim 5, wherein the method further comprises determining the at least one of the one or more second language equivalents that are available in the resource bundle by referencing the resource bundle name and key, wherein the adding the menu option adds a menu option for each second language equivalent.

### Claim 8 (depends on 5)

The computer program product as claimed in claim 5, wherein the method further comprises:
intercepting a selection of the menu option of the request event;
locating the bundle name and key for the at least one of the one or more second human language equivalents;
retrieving a human language equivalent value by looking up a named resource bundle and identifying a properties file for the language equivalent and retrieving a value for the specified key; and
carrying out the request event with the human language equivalent value.
