# US 2021/0286955 A1 · Processing of Translation-Resistant Content in Web Application

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

- Number: US 2021/0286955 A1
- Document ID: US20210286955A1
- Status: Published application
- Kind: A1
- Application number: 16/818,760
- Filed: 2020-03-13
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Jens Scharnbacher; Michail Vasiltschenko
- Web page: https://patentgrep.com/patent/US20210286955A1

## CPC

- G06F 40/58: Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
- G06F 9/454: {Multi-language systems; Localisation; Internationalisation}
- G06F 16/3325: {Reformulation based on results of preceding query}
- G06F 40/186: Templates
- G06F 40/51: Translation evaluation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An engine interposed between an application translator and UI intercepts string templates populated with string variables and output by the translator. The engine determines translation-resistance of the string template. Such determination can be based upon an existing mark inserted by the translator, a number of string variables in the string template, a comment in the string template, user settings, or syntax rules. Frequently, translation-resistance of the string template is not indicated and the engine simply forwards on the string template to the user. Less frequently, the engine determines the string template to be resistant to translation. Then, the engine causes the string template to be processed according to a prefix and a suffix inserted thereto. The processing can comprise forwarding the string template for machine translation, and/or falling back to a simpler string variant. The modified content resulting from the processing is communicated by the engine to the user.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving a string template populated with a string variable and translated into a language;
determining that the string template is resistant to translation;
inserting a prefix and a suffix into the string template;
causing the string template to be processed according to the prefix and the suffix to generate a modified output; and
communicating the modified output to a user.

### Claim 2 (depends on 1)

A method as in claim 1 wherein:
the string template is received from a translator; and
the determining comprises detecting a mark inserted by the translator to indicate the string template is resistant to translation.

### Claim 3 (depends on 2)

A method as in claim 2 wherein:
the string template comprises a plurality of string variables; and
the mark is based upon a number of the plurality of string variables.

### Claim 4 (depends on 1)

A method as in claim 1 wherein:
the string template comprises a comment; and
the determining is based upon the comment.

### Claim 5 (depends on 1)

A method as in claim 1 wherein causing the string template to be processed comprises forwarding the string template for machine translation.

### Claim 6 (depends on 1)

A method as in claim 1 wherein causing the string template to be processed comprises falling back to a simpler string variant.

### Claim 7 (depends on 1)

A method as in claim 1 wherein the string template is populated from a microservice.

### Claim 8 (depends on 1)

A method as in claim 1 wherein the prefix and the suffix comprise invisible characters.

### Claim 9 (depends on 1)

A method as in claim 1 further comprising removing the prefix and the suffix prior to communicating the string template to the user.

### Claim 10

A non-transitory computer readable storage medium embodying a computer program for performing a method, said method comprising:
receiving a string template populated with a string variable and translated into a language;
determining that the string template is resistant to translation;
inserting a prefix and a suffix into the string template;
causing the string template to be forwarded for machine translation according to the prefix and the suffix to generate a modified output; and
communicating the modified output to a user.

### Claim 11 (depends on 10)

A non-transitory computer readable storage medium as in claim 10 wherein:
the string template comprises a plurality of string variables; and
the determining is based upon a number of the plurality of string variables.

### Claim 12 (depends on 10)

A non-transitory computer readable storage medium as in claim 10 wherein:
the string template comprises a comment; and
the determining is based upon the comment.

### Claim 13 (depends on 10)

A non-transitory computer readable storage medium as in claim 10 wherein:
the string template is received from a translator; and
the determining based upon detection of a mark inserted by the translator.

### Claim 14 (depends on 10)

A non-transitory computer readable storage medium as in claim 10 wherein the prefix and the suffix comprise invisible characters.

### Claim 15

A computer system comprising:
one or more processors;
a software program, executable on said computer system, the software program configured to cause an in-memory database engine of an in-memory database to:
receive from the in-memory database a string template populated with a string variable and translated into a language;
determine that the string template is resistant to translation;
insert a prefix and a suffix into the string template;
cause the string template to be processed according to the prefix and the suffix to generate a modified output; and
communicate the modified output to a user.

### Claim 16 (depends on 15)

A computer system as in claim 15 wherein the in-memory database engine is configured to determine that the string template is resistant to translation based upon a number of a plurality of string variables of the string template.

### Claim 17 (depends on 15)

A computer system as in claim 15 wherein the in-memory database engine is configured to determine that the string template is resistant to translation based upon a comment present in the string template.

### Claim 18 (depends on 15)

A computer system as in claim 15 wherein the in-memory database engine is configured to determine that the string template is resistant to translation based upon an existing mark inserted by a translator.

### Claim 19 (depends on 15)

A computer system as in claim 15 wherein the causing the processing comprises forwarding the string template for machine translation.

### Claim 20 (depends on 15)

A computer system as in claim 15 wherein the causing the processing comprises falling back to a simpler string variant.
