US2021357596A1PendingUtilityA1
Intelligent localization of resource data
Assignee: MICROSOFT TECHNOLOGY LICENSING LLCPriority: May 15, 2020Filed: May 15, 2020Published: Nov 18, 2021
Est. expiryMay 15, 2040(~13.8 yrs left)· nominal 20-yr term from priority
G06N 3/045G06N 3/08G06F 40/58G06F 9/4881G06F 40/51G06F 9/454
47
PatentIndex Score
0
Cited by
0
References
0
Claims
Abstract
A method of and system for translating a software resource of an application in real time is disclosed. The method may include receiving an indication to load the software resource, the software resource being in a first language, determining if the first language is a preferred language for a user, if the first language is not the preferred language for the user, sending a request to a machine translation model to translate the software resource from the first language to the preferred language, receiving a translated software resource in the preferred language, and loading the translated software resource.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A device comprising:
a processor; an operating system; and a memory in communication with the processor, the memory comprising executable instructions that, when executed by the processor, cause the operating system to perform functions of:
receiving an indication to load a software resource for an application, the software resource being in a first language;
determining if the first language is a preferred language for a user of the device;
if the first language is not the preferred language for the user of the device, sending a request to a machine translation model to translate the software resource from the first language to the preferred language;
receiving a translated software resource in the preferred language; and
loading the translated software resource.
2 . The device of claim 1 , wherein the executable instructions when executed by the processor, further cause the device to perform functions of:
determining if the machine translation model to translate the software resource from the first language to the preferred language is stored on the device; if the machine translation model is not stored on the device, identifying an alternative preferred language for translating the resource; sending a request to an alternative preferred language machine translation model to translate the software resource from the first language to the alternative preferred language; receiving the translated software resource in the alternative preferred language; and loading the translated software resource in the alternative preferred language.
3 . The device of claim 2 , wherein the executable instructions when executed by the processor, further cause the device to perform functions of:
determining if the alternative preferred language machine translation model is stored on the device; and if the alternative preferred language machine translation model is not stored on the device, sending a request to a server via a network to deploy the machine translation model to the device.
4 . The device of claim 1 , further comprising a machine translation engine for interpreting the machine translation model, the machine translation engine receiving the request to translate the software resource from the first language to the preferred language and transmitting the request to the machine translation model for translation.
5 . The device of claim 4 , further comprising a plurality of machine translation models including the machine translation model, wherein the machine translation engine identifies one machine translation model from among the plurality of machine translation models to which to send the request.
6 . The device of claim 1 , wherein the operating system comprises one or more resource loader components for loading the software resource for the application, at least one of the one or more resource loader components including a modification that enables the operating system to send the request to the machine translation model to translate the software resource from the first language to the preferred language.
7 . The device of claim 1 , wherein the machine translation model includes a machine learning (ML) model which receives the software resource as an input and provides the translated software resource in the preferred language as an output.
8 . A method for translating a software resource of an application in real time, comprising:
receiving an indication to load the software resource, the software resource being in a first language; determining if the first language is a preferred language for a user; if the first language is not the preferred language for the user, sending a request to a machine translation model to translate the software resource from the first language to the preferred language; receiving a translated software resource in the preferred language; and loading the translated software resource.
9 . The method of claim 8 , further comprising:
determine if the machine translation model to translate the software resource from the first language to the preferred language is stored on a device on which the application is stored; if the machine translation model is not available on the device, identifying an alternative preferred language for translating the resource; sending a request to an alternative preferred language machine translation model to translate the software resource from the first language to the alternative preferred language; receiving the translated software resource in the alternative preferred language; and loading the translated software resource in the alternative preferred language.
10 . The method of claim 9 , further comprising:
determining if the alternative preferred language machine translation model is stored on the device; and if the alternative preferred language machine translation model is not stored on the device, sending a request to a server via a network to deploy the machine translation model to the device.
11 . The method of claim 8 , further comprising:
receiving a request to launch the application; and receiving the indication to load the software resource.
12 . The method of claim 8 , wherein the machine translation model includes a machine learning (ML) model which receives the software resource as an input and provides the translated software resource in the preferred language as an output.
13 . The method of claim 8 , wherein a machine translation engine is used for interpreting the machine translation model, the machine translation engine receiving the request to translate the software resource from the first language to the preferred language and transmitting the request to the machine translation model for translation.
14 . The method of claim 8 , further comprising retrieving the preferred language for a user from a database.
15 . The method of claim 8 , wherein the application includes a resource file and a code, and the resource contains the software resource.
16 . A non-transitory computer readable medium on which are stored instructions that,
when executed by an operating system, cause a programmable device to:
receive an indication to load a software resource for an application, the software resource being in a first language;
determine if the first language is a preferred language for a user of the device;
if the first language is not the preferred language for the user of the device, sending a request to a machine translation model to translate the software resource from the first language to the preferred language;
receive a translated software resource in the preferred language; and
load the translated software resource.
17 . The non-transitory computer readable medium of claim 16 , wherein the instructions further cause the programmable device to:
determine if the machine translation model to translate the software resource from the first language to the preferred language is stored on the device; if the machine translation model is not available on the device, identify an alternative preferred language for translating the resource; send a request to an alternative preferred language machine translation model to translate the software resource from the first language to the alternative preferred language; receive the translated software resource in the alternative preferred language; and load the translated software resource in the alternative preferred language.
18 . The non-transitory computer readable medium of claim 17 , wherein the instructions further cause the programmable device to:
determine if the alternative preferred language machine translation model is stored on the device; and if the alternative preferred language machine translation model is not stored on the device, send a request to a server via a network to deploy the machine translation model to the device.
19 . The non-transitory computer readable medium of claim 16 , wherein the programmable device comprises a machine translation engine for interpreting the machine translation model, the machine translation engine receiving the request to translate the software resource from the first language to the preferred language and transmitting the request to the machine translation model for translation.
20 . The computer readable medium of claim 16 , wherein the application includes a resource file and a code, and the resource file contains the software resource.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.