IP Library Granted Patent US 11,126,644
Granted Patent B2
US 11,126,644 · App. 16/263,978 · Granted Sep 21, 2021

Automatic discovery of locations of translated text in localized applications

Inventors: Hendrik Lipka (Jena, DE); Cornelia Charlotte Sittel (Arlington, MA)
Assignee: salesforce.com, inc.
G06F16/313G06F9/454G06F16/34G06F16/35G06F40/40G06F9/451G06F40/49G06F40/51G06F40/58
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 11,126,644
App. No.
16/263,978
Granted
Sep 21, 2021
Kind
B2
Abstract

Disclosed herein are system, method, and computer-readable storage-medium embodiments for automatic discovery of translated text. An embodiment may include relating a user-interface (UI) output with a corresponding localization object in a code-base index and matching a first instance of a unique identifier with a second instance of the unique identifier. The first instance of the unique identifier may be located in a code base corresponding to the code-base index, and the second instance of the unique identifier may correspond to the UI output. The code base may be structured to comprise the unique identifier in a given context. Further operations may include retrieving a reference to the corresponding localization object of the UI output in response to a determination that the UI output is incorrect in the given context, and outputting the reference to the corresponding localization object. The reference may be copied into a ticket of a tracking system.

Claims (50)

1. A method, comprising:

discovering, by at least one computer processor, at least one localization object of a plurality of localization objects in a software user interface (UI) to be localized according to a localization target;

relating, by the at least one computer processor, a UI output with a corresponding localization object of the plurality of localization objects in a code-base index;

matching, by the at least one computer processor, a first instance of a unique identifier with a second instance of the unique identifier,

wherein the first instance of the unique identifier is located in a code base corresponding to the code-base index,

wherein the second instance of the unique identifier corresponds to the UI output, and

wherein the code base is structured to comprise the unique identifier in a given context among the plurality of localization objects;

retrieving, by the at least one computer processor, a reference to the corresponding localization object related to the UI output in response to a determination, per a rule configured to identify a pattern of faulty agreement, that the UI output is mismatched with the given context among the plurality of localization objects, with respect to the localization target; and

outputting, by the at least one computer processor, the reference to the corresponding localization object in the code-base index into a ticket of an issue-tracking system responsive to the determination that the UI output is mismatched, wherein the corresponding localization object is accessible from the ticket using the reference to the corresponding localization object.

2. The method of claim 1 , wherein the given context comprises a result of a form-field input validation.

3. The method of claim 1 , wherein the given context comprises a result of the discovering via a multi-level navigation path.

4. The method of claim 3 , further comprising:

generating, by the at least one computer processor, a breadcrumb representing the multi-level navigation path.

5. The method of claim 1 , wherein the determination that the UI output is mismatched with the given context comprises a result of a comparison with a predetermined ambiguous text string.

6. The method of claim 1 , wherein the determination further comprises a heuristic function, a machine-learning process, or a combination thereof.

7. The method of claim 1 , wherein the rule is further configured to identify a polysemic input.

8. The method of claim 1 , wherein the rule is further configured to identify a predetermined ambiguity.

9. The method of claim 1 , wherein at least the discovering and the relating are performed in response to a change to the software UI.

10. The method of claim 1 , wherein at least the discovering and the relating are performed within a process of continuous integration, continuous deployment, continuous delivery, or a combination thereof.

11. The method of claim 1 , wherein at least the retrieving is performed using a framework for test automation.

12. A system, comprising:

a memory; and

at least one computer processor coupled to the memory and configured to:

discover at least one localization object of a plurality of localization objects in a software user interface (UI) to be localized according to a localization target;

relate a UI output with a corresponding localization object of the plurality of localization objects in a code-base index;

match a first instance of a unique identifier with a second instance of the unique identifier,

wherein the first instance of the unique identifier is located in a code base corresponding to the code-base index,

wherein the second instance of the unique identifier corresponds to the UI output, and

wherein the code base is structured to comprise the unique identifier in a given context among the plurality of localization objects;

retrieve a reference to the corresponding localization object related to the UI output in response to a determination, per a rule configured to identify a pattern of faulty agreement, that the UI output is mismatched with the given context among the plurality of localization objects, with respect to the localization target; and

output the reference to the corresponding localization object in the code-base index into a ticket of an issue-tracking system responsive to the determination that the UI output is mismatched, wherein the corresponding localization object is accessible from the ticket using the reference to the corresponding localization object.

13. The system of claim 12 , wherein the given context comprises a result of a form-field input validation.

14. The system of claim 12 , wherein the given context comprises a result of the discovering via a multi-level navigation path.

15. The system of claim 14 , wherein the at least one computer processor is further configured to:

generate a breadcrumb representing the multi-level navigation path.

16. The system of claim 12 , wherein the determination that the UI output is mismatched with the given context comprises a result of a comparison with a predetermined ambiguous text string.

17. A non-transitory computer-readable storage medium having instructions stored thereon that, when executed by at least one computing device, causes the at least one computing device to perform operations comprising:

discovering at least one localization object of a plurality of localization objects in a software user interface (UI) to be localized according to a localization target;

relating a UI output with a corresponding localization object of the plurality of localization objects in a code-base index;

matching a first instance of a unique identifier with a second instance of the unique identifier,

wherein the first instance of the unique identifier is located in a code base corresponding to the code-base index,

wherein the second instance of the unique identifier corresponds to the UI output, and

wherein the code base is structured to comprise the unique identifier in a given context among the plurality of localization objects;

retrieving a reference to the corresponding localization object related to the UI output in response to a determination, per a rule configured to identify a pattern of faulty agreement, that the UI output is mismatched with the given context among the plurality of localization objects, with respect to the localization target; and

outputting the reference to the corresponding localization object in the code-base index into a ticket of an issue-tracking system responsive to the determination that the UI output is mismatched, wherein the corresponding localization object is accessible from the ticket using the reference to the corresponding localization object.

18. The non-transitory computer-readable storage medium of claim 17 , wherein the given context comprises a result of a form-field input validation.

19. The non-transitory computer-readable storage medium of claim 17 , wherein the given context comprises a result of the discovering via a multi-level navigation path.

20. The non-transitory computer-readable storage medium of claim 19 , the operations further comprising:

generating a breadcrumb representing the multi-level navigation path.

21. The non-transitory computer-readable storage medium of claim 17 , wherein the determination that the UI output is mismatched with the given context comprises a result of a comparison with a predetermined ambiguous text string.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 16, 2021
From: LIPKA, HENDRIK; SITTEL, CORNELIA CHARLOTTE
To: SALESFORCE.COM, INC.
Reel/Frame 056561/0150 →
Continuity (1)
Related Publication 20200250208A1 · Aug 6, 2020