US20180232365A1 - Context-aware translation memory to facilitate more accurate translation - Google Patents
Context-aware translation memory to facilitate more accurate translation Download PDFInfo
- Publication number
- US20180232365A1 US20180232365A1 US15/938,318 US201815938318A US2018232365A1 US 20180232365 A1 US20180232365 A1 US 20180232365A1 US 201815938318 A US201815938318 A US 201815938318A US 2018232365 A1 US2018232365 A1 US 2018232365A1
- Authority
- US
- United States
- Prior art keywords
- translation
- program
- string
- context
- computer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- G06F17/2836—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/40—Processing or translation of natural language
- G06F40/42—Data-driven translation
- G06F40/47—Machine-assisted translation, e.g. using translation memory
-
- G06F17/2818—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/40—Processing or translation of natural language
- G06F40/42—Data-driven translation
- G06F40/44—Statistical methods, e.g. probability models
Definitions
- the present invention relates, generally, to the field of computing, and more particularly to software language translation.
- Computer programs may present information to a user in different languages.
- the user may designate, from a list, the language in which the computer program may present information. For example, the user may be presented with a drop down menu listing the English language, the French language, the German Language, and the Spanish language. Therefore, the program developer may design the graphical user interface to properly accommodate translation into each of the presented languages.
- a method, computer system, and computer program product for context-aware translation may include receiving a program integrated information file associated with a graphical user interface object of with a software product.
- the present invention may also include indexing each element string within the received program integrated information file.
- the present invention may further include generating a base language general availability build of the graphical user interface object using the received program integrated information file.
- the present invention may also include retrieving a document object model of each element within the generated base language general availability build.
- the present invention may further include creating a string relation table for the generated base language general availability build using the retrieved document object model for each element and each indexed element string within the received program integrated information file.
- the present invention may also include generating a string relation translation memory table for at least one language using the created string relation table and a translation resource file associated with the at least one language.
- FIG. 1 illustrates an exemplary networked computer environment according to at least one embodiment
- FIG. 2 is an operational flowchart illustrating a context-aware translation process according to at least one embodiment
- FIG. 3 is an operational flowchart illustrating a string relation translation memory table use process according to at least one embodiment
- FIG. 4 is a block diagram of a translation suggestion box based on the relationship of graphical user interface elements according to at least one embodiment
- FIG. 5 is a block diagram of a string relation table according to at least one embodiment
- FIG. 6 is a block diagram of internal and external components of computers and servers depicted in FIG. 1 according to at least one embodiment
- FIG. 7 depicts a cloud computing environment according to an embodiment of the present invention.
- FIG. 8 depicts abstraction model layers according to an embodiment of the present invention.
- Embodiments of the present invention relate to the field of computing, and more particularly to software language translation.
- the following described exemplary embodiments provide a system, method, and program product to, among other things, analyze relationship information associated with a graphical user interface of a software program to select or suggest an accurate language translation. Therefore, the present embodiment has the capacity to improve the technical field of software language translation by increasing translation accuracy based on identifying the context of sibling strings.
- computer programs may present information to a user in different languages.
- the user may designate, from a list, the language in which the computer program may present information. For example, the user may be presented with a drop down menu listing the English language, the French language, the German Language, and the Spanish language. Therefore, the program developer may design the graphical user interface to properly accommodate translation into each of the presented languages.
- GUI graphical user interface
- Translation techniques may not consider how some GUI objects, such as buttons and labels, will be understood by the user in the context of other viewable GUI objects. For example, the translation of the term “Accept” to a non-English language may not be the same for an “accept” button GUI object on a license agreement panel and an “accept” button GUI object on a file transfer dialogue box. As such, it may be advantageous to, among other things, perform a translation verification test that analyzes all GUI objects to be depicted to determine relationships between GUI objects that will be viewable to users.
- an accurate translation may depend on the neighboring text strings and elements.
- String relation translation memory SRTM
- SRTM String relation translation memory
- the relationship may be stored in a table and analyzed to calculate a rating for a number of proposed translations. The highest rated potential translation may be selected as the most accurate translation and automatically inserted into the translated GUI object.
- a user may be presented with all proposed translations based on the relationship between the string and each sibling string to allow the user to select the most accurate translation for the GUI object.
- the present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration
- the computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention
- the computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device.
- the computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
- a non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing.
- RAM random access memory
- ROM read-only memory
- EPROM or Flash memory erasable programmable read-only memory
- SRAM static random access memory
- CD-ROM compact disc read-only memory
- DVD digital versatile disk
- memory stick a floppy disk
- a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon
- a computer readable storage medium is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
- Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network.
- the network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers.
- a network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
- Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages.
- the computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
- These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
- the computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
- each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s).
- the functions noted in the blocks may occur out of the order noted in the Figures.
- two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
- the following described exemplary embodiments provide a system, method, and program product to utilize a translation verification test that analyzes the context in which a text string is used in relation to neighboring text strings within a GUI object to determine an accurate language translation for the text string.
- the networked computer environment 100 may include client computing device 102 and a server 112 interconnected via a communication network 114 .
- the networked computer environment 100 may include a plurality of client computing devices 102 and servers 112 , of which only one of each is shown for illustrative brevity.
- the communication network 114 may include various types of communication networks, such as a wide area network (WAN), local area network (LAN), a telecommunication network, a wireless network, a public switched network and/or a satellite network.
- the communication network 114 may include connections, such as wire, wireless communication links, or fiber optic cables. It may be appreciated that FIG. 1 provides only an illustration of one implementation and does not imply any limitations with regard to the environments in which different embodiments may be implemented. Many modifications to the depicted environments may be made based on design and implementation requirements.
- Client computing device 102 may include a processor 104 and a data storage device 106 that is enabled to host and run a software program 108 and a context-aware translation program 110 A and communicate with the server 112 via the communication network 114 , in accordance with one embodiment of the invention.
- Client computing device 102 may be, for example, a mobile device, a telephone, a personal digital assistant, a netbook, a laptop computer, a tablet computer, a desktop computer, or any type of computing device capable of running a program and accessing a network.
- the client computing device 102 may include internal components 602 a and external components 604 a , respectively.
- the server computer 112 may be a laptop computer, netbook computer, personal computer (PC), a desktop computer, or any programmable electronic device or any network of programmable electronic devices capable of hosting and running a context-aware translation program 110 B and a database 116 and communicating with the client computing device 102 via the communication network 114 , in accordance with embodiments of the invention.
- the server computer 112 may include internal components 602 b and external components 604 b , respectively.
- the server 112 may also operate in a cloud computing service model, such as Software as a Service (SaaS), Platform as a Service (PaaS), or Infrastructure as a Service (IaaS).
- SaaS Software as a Service
- PaaS Platform as a Service
- IaaS Infrastructure as a Service
- the server 112 may also be located in a cloud computing deployment model, such as a private cloud, community cloud, public cloud, or hybrid cloud.
- the context-aware translation program 110 A, 110 B may be a program capable of analyzing information associated with GUI objects presented in a file, such as a program integrated information file, to determine the relationship between text presented in each GUI object.
- the context-aware translation program 110 A, 110 B may then be capable of providing at least one translation suggestion or selecting a best fit translation for each GUI object to be translated.
- the context-aware translation method is explained in further detail below with respect to FIG. 2 .
- the context-aware translation program 110 A, 110 B receives a program integrated information file.
- a program integrated information file may store text content associated with an application, such as software program 108 , displayed within a GUI during program execution.
- Information stored within a program integrated information file may include Java® (Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle Corporation and/or its affiliates) environment property files and Microsoft.NET (Microsoft.NET and all Microsoft-based trademarks and logos are trademarks or registered trademarks of Microsoft Corporation and/or its affiliates) environment resource files.
- the context-aware translation program 110 A, 110 B indexes each string within the program integrated information file.
- the context-aware translation program 110 A, 110 B may mark the program integrated information file with invisible Unicode characters to index each element string stored within the file and associated with a GUI object.
- the context-aware translation program 110 A, 110 B creates a base language general availability build of the user interface.
- the context-aware translation program 110 A, 110 B may create a base language general availability build for translation into various languages by merging the received program integrated information file with the indexed elements. Since the index characters may be invisible in the indexed program integrated information file, the user interface may not be visually affected by the creation of the base language general availability build.
- the context-aware translation program 110 A, 110 B or a computer program, such as software program 108 or an inspector program may be capable of analyzing the base language general availability build and locate a string from the user interface.
- the context-aware translation program 110 A, 110 B may use English as the base language for the general availability build for each product within a certain domain.
- a general availability build of a user interface display box may be created in English using the program integrated information file that can be used to create translations into various languages.
- the context-aware translation program 110 A, 110 B retrieves a document object model of each element within the base language general availability build and locates each string within the program integrated information file based on the invisible characters for each element. For each element within a GUI object, the context-aware translation program 110 A, 110 B may retrieve a document object model.
- a document object model is an application programming interface that handles documents in a tree structure where each node is an object within the document.
- the context-aware translation program 110 A, 110 B may locate each string from the program integrated information file based on the invisible characters associated with each string. For example, the context-aware translation program 110 A, 110 B may be able to locate the ID element in the indexed program integrated information file since the ID element may be listed as index 0 .
- the context-aware translation program 110 A, 110 B creates a string relation table for the base language general availability build using the retrieved document object model for each element and located strings from the program integrated information file.
- the document object model retrieved by the context-aware translation program 110 A, 110 B may include relationship information for each element within the GUI object.
- a document object model may identify neighboring elements, such as direct parent elements, sibling elements, and direct child elements. By parsing through each element and determining the neighboring elements, the context-aware translation program 110 A, 110 B may be able to determine the relationship between specific elements within a GUI object.
- the context-aware translation program 110 A, 110 B may create a string relation table that details the relationship between the elements within a GUI object as detailed by the domain model object.
- a string relation table detailing the relationship between elements of a GUI object that asks a user to enter an identification and password may appear as follows:
- the context-aware translation program 110 A, 110 B may create the string relation table from document object models and program integrated information files indexed with invisible characters of corresponding product general availability builds for product within the same family. For example, if a product (i.e., product A) is a member of a family of products (i.e., product A, product B, and product C), the context-aware translation program 110 A, 110 B may create the string relation table for product A from document object models and program integrated information files for product B and product C. Similarly, the context-aware translation program 110 A, 110 B may create the string relation table from document object models and program integrated information files indexed with invisible characters of corresponding product general availability builds for different versions of the same product.
- the context-aware translation program 110 A, 110 B may create the string relation table for product A version 3 from document object models and program integrated information files for product A version 1 and product A version 2. Furthermore, a string relation table may be created for each product within a family and/or each version of a specific product and use each created string relation table to create a string relation translation memory table with calculated probabilities.
- the context-aware translation program 110 A, 110 B generates a string relation translation memory table for at least one language.
- a string relation translation memory table may be generated that displays possible translations for each element within a GUI object based on the relationship between various elements displayed in the GUI object.
- the string relation translation memory table may be created using string relation tables created from different products within the same family or different versions of the same product.
- the context-aware translation program 110 A, 110 B may calculate a translation rate percentage for each element within a GUI object based on the context of use of each element within the GUI object and the relationship between the element and neighboring elements in the GUI object.
- the context-aware translation program 110 A, 110 B may suggest a specific translation is appropriate with a 92% certainty based on the context of use of the “OK” element and the relationship with neighboring elements, such as a “Cancel” element, a “ID” element, and a “Password” element.
- the context-aware translation program 110 A, 110 B may also display another translation with a 35% certainty as being the best translation based on the relationship between the element and other elements within the GUI object.
- the context-aware translation program 110 A, 110 B may display higher translation rate probability scores in different colors. For example, translation rate probability scores between 85% and 100% may be displayed in red to indicate a high probability that the translation is accurate based on relationships with other elements and with a previous language used in earlier builds or products in the same domain.
- the context-aware translation program 110 A, 110 B creates a base language general availability build of the user interface for a new software product.
- the context-aware translation program 110 A, 110 B may need to determine the element relationships within the GUI object.
- the context-aware translation program 110 A, 110 B may be able to determine the element relationships by receiving the program integrated information file for the new product similar to step 202 , indexing each element string within the received program integrated information file for the new product similar to step 204 , and creating a base language general availability build for the new software product similar to step 206 .
- the context-aware translation program 110 A, 110 B retrieves a document object model of each panel within the base language general availability build. Similar to step 208 , the context-aware translation program 110 A, 110 B may retrieve a document object model for each element within the created general availability build for the new product.
- a document object model is an application programming interface that handles documents in a tree structure where each node is an object within the document. Each document object model may detail the relationship each element within the GUI object has with neighboring elements. Additionally, the context-aware translation program 110 A, 110 B may also locate each element string from the program integrated information file for the new product using the invisible characters within the general availability build.
- the context-aware translation program 110 A, 110 B matches the document object model relationships of the new product with the created string relation translation memory table.
- the context-aware translation program 110 A, 110 B may match the document object model relationships of the new product with the relationships of the same document object model on the string relation translation memory table created from other product family members and earlier product versions. For example, a document object model for a new product may be compared to a created string relation translation memory table for a product family to determine which translation is most appropriate for an element of a GUI object based on the neighboring objects.
- the context-aware translation program 110 A, 110 B may utilize an inspector program, such as a firebug, to inspect HTML and document object model objects when generating a string relation translation memory table and using a string relation translation memory table to make a suggestion or translation.
- the context-aware translation program 110 A, 110 B presents the translation suggestion based on the generated string relation translation memory table.
- the context-aware translation program 110 A, 110 B may suggest a translation for each element of the GUI object by presenting the generated string relation translation memory table to the user.
- the context-aware translation program 110 A, 110 B may allow the user to select a translation by interacting with the generated string relation translation memory table. Once the context-aware translation program 110 A, 110 B receives a user selection, the user selection may be used to perform the translation.
- the context-aware translation program 110 A, 110 B may automatically select the translation for an element within the GUI object based on the highest translation rate probability score. For example, if the context-aware translation program 110 A, 110 B generates a string relation translation memory table that has the highest translation rate probability score for the “ ” translation of an “OK” button, then the context-aware translation program 110 A, 110 B may use the “ ” translation without prompting the user to make a translation selection of the proper translation.
- the translation suggestion box 400 may be presented to a user to allow the user to select a translation that is most suitable to the GUI objected being translated.
- the context-aware translation program 110 A, 110 B may display the base language general availability build and display several translation suggestions for a user to select.
- the translation suggestion box 400 may display the “ ” translation and the “ ” translation alongside the “OK” GUI object to be translated.
- the string relation table 500 may be created by parsing the information within a document object model for each GUI object. As previously described, the string relation table 500 may detail the relationship between the elements within a GUI object as detailed by the domain model object. For example, the string relation table 500 may include rows for each string translation that further details the neighboring strings and a translation rate percentage for each translation of the string.
- FIGS. 3-5 provide only an illustration of one implementation and does not imply any limitations with regard to how different embodiments may be implemented. Many modifications to the depicted environments may be made based on design and implementation requirements.
- FIG. 6 is a block diagram 600 of internal and external components of the client computing device 102 and the server 112 depicted in FIG. 1 in accordance with an embodiment of the present invention. It should be appreciated that FIG. 6 provides only an illustration of one implementation and does not imply any limitations with regard to the environments in which different embodiments may be implemented. Many modifications to the depicted environments may be made based on design and implementation requirements.
- the data processing system 602 , 604 is representative of any electronic device capable of executing machine-readable program instructions.
- the data processing system 602 , 604 may be representative of a smart phone, a computer system, PDA, or other electronic devices.
- Examples of computing systems, environments, and/or configurations that may represented by the data processing system 602 , 604 include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, network PCs, minicomputer systems, and distributed cloud computing environments that include any of the above systems or devices.
- the client computing device 102 and the server 112 may include respective sets of internal components 602 a,b and external components 604 a,b illustrated in FIG. 6 .
- Each of the sets of internal components 602 include one or more processors 620 , one or more computer-readable RAMs 622 , and one or more computer-readable ROMs 624 on one or more buses 626 , and one or more operating systems 628 and one or more computer-readable tangible storage devices 630 .
- each of the computer-readable tangible storage devices 630 is a magnetic disk storage device of an internal hard drive.
- each of the computer-readable tangible storage devices 630 is a semiconductor storage device such as ROM 624 , EPROM, flash memory or any other computer-readable tangible storage device that can store a computer program and digital information.
- Each set of internal components 602 a,b also includes a R/W drive or interface 632 to read from and write to one or more portable computer-readable tangible storage devices 638 such as a CD-ROM, DVD, memory stick, magnetic tape, magnetic disk, optical disk or semiconductor storage device.
- a software program such as the context-aware translation program 110 A, 110 B, can be stored on one or more of the respective portable computer-readable tangible storage devices 638 , read via the respective R/W drive or interface 632 , and loaded into the respective hard drive 630 .
- Each set of internal components 602 a,b also includes network adapters or interfaces 636 such as a TCP/IP adapter cards, wireless Wi-Fi interface cards, or 3G or 4G wireless interface cards or other wired or wireless communication links.
- the software program 108 and the context-aware translation program 110 A in the client computing device 102 and the context-aware translation program 110 B in the server 112 can be downloaded to the client computing device 102 and the server 112 from an external computer via a network (for example, the Internet, a local area network or other, wide area network) and respective network adapters or interfaces 636 .
- the network may comprise copper wires, optical fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers.
- Each of the sets of external components 604 a,b can include a computer display monitor 644 , a keyboard 642 , and a computer mouse 634 .
- External components 604 a,b can also include touch screens, virtual keyboards, touch pads, pointing devices, and other human interface devices.
- Each of the sets of internal components 602 a,b also includes device drivers 640 to interface to computer display monitor 644 , keyboard 642 , and computer mouse 634 .
- the device drivers 640 , R/W drive or interface 632 , and network adapter or interface 636 comprise hardware and software (stored in storage device 630 and/or ROM 624 ).
- Cloud computing is a model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g. networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service.
- This cloud model may include at least five characteristics, at least three service models, and at least four deployment models.
- On-demand self-service a cloud consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service's provider.
- Resource pooling the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to demand. There is a sense of location independence in that the consumer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter).
- Rapid elasticity capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time.
- Measured service cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported providing transparency for both the provider and consumer of the utilized service.
- level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts).
- SaaS Software as a Service: the capability provided to the consumer is to use the provider's applications running on a cloud infrastructure.
- the applications are accessible from various client devices through a thin client interface such as a web browser (e.g., web-based e-mail).
- a web browser e.g., web-based e-mail
- the consumer does not manage or control the underlying cloud infrastructure including network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.
- PaaS Platform as a Service
- the consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but has control over the deployed applications and possibly application hosting environment configurations.
- IaaS Infrastructure as a Service
- the consumer does not manage or control the underlying cloud infrastructure but has control over operating systems, storage, deployed applications, and possibly limited control of select networking components (e.g., host firewalls).
- Private cloud the cloud infrastructure is operated solely for an organization. It may be managed by the organization or a third party and may exist on-premises or off-premises.
- Public cloud the cloud infrastructure is made available to the general public or a large industry group and is owned by an organization selling cloud services.
- Hybrid cloud the cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability (e.g., cloud bursting for load-balancing between clouds).
- a cloud computing environment is service oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability.
- An infrastructure comprising a network of interconnected nodes.
- cloud computing environment 50 comprises one or more cloud computing nodes 100 with which local computing devices used by cloud consumers, such as, for example, personal digital assistant (PDA) or cellular telephone 54 A, desktop computer 54 B, laptop computer 54 C, and/or automobile computer system 54 N may communicate.
- Nodes 100 may communicate with one another. They may be grouped (not shown) physically or virtually, in one or more networks, such as Private, Community, Public, or Hybrid clouds as described hereinabove, or a combination thereof.
- This allows cloud computing environment 50 to offer infrastructure, platforms and/or software as services for which a cloud consumer does not need to maintain resources on a local computing device.
- computing devices 54 A-N shown in FIG. 7 are intended to be illustrative only and that computing nodes 100 and cloud computing environment 50 can communicate with any type of computerized device over any type of network and/or network addressable connection (e.g., using a web browser).
- FIG. 8 a set of functional abstraction layers 800 provided by cloud computing environment 50 is shown. It should be understood in advance that the components, layers, and functions shown in FIG. 7 are intended to be illustrative only and embodiments of the invention are not limited thereto. As depicted, the following layers and corresponding functions are provided:
- Hardware and software layer 60 includes hardware and software components.
- hardware components include: mainframes 61 ; RISC (Reduced Instruction Set Computer) architecture based servers 62 ; servers 63 ; blade servers 64 ; storage devices 65 ; and networks and networking components 66 .
- software components include network application server software 67 and database software 68 .
- Virtualization layer 70 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers 71 ; virtual storage 72 ; virtual networks 73 , including virtual private networks; virtual applications and operating systems 74 ; and virtual clients 75 .
- management layer 80 may provide the functions described below.
- Resource provisioning 81 provides dynamic procurement of computing resources and other resources that are utilized to perform tasks within the cloud computing environment.
- Metering and Pricing 82 provide cost tracking as resources are utilized within the cloud computing environment, and billing or invoicing for consumption of these resources. In one example, these resources may comprise application software licenses.
- Security provides identity verification for cloud consumers and tasks, as well as protection for data and other resources.
- User portal 83 provides access to the cloud computing environment for consumers and system administrators.
- Service level management 84 provides cloud computing resource allocation and management such that required service levels are met.
- Service Level Agreement (SLA) planning and fulfillment 85 provide pre-arrangement for, and procurement of, cloud computing resources for which a future requirement is anticipated in accordance with an SLA.
- SLA Service Level Agreement
- Workloads layer 90 provides examples of functionality for which the cloud computing environment may be utilized. Examples of workloads and functions which may be provided from this layer include: mapping and navigation 91 ; software development and lifecycle management 92 ; virtual classroom education delivery 93 ; data analytics processing 94 ; transaction processing 95 ; and context-aware translation 96 .
- Context-aware translation 96 may relate to analyzing data within a document object model to determine relationships between GUI objects to be translated and selecting or suggesting at least one language translation for the GUI objects based on the determined relationships.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Human Computer Interaction (AREA)
- Probability & Statistics with Applications (AREA)
- Machine Translation (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A method for context-aware translation is provided. The present invention may include receiving a program integrated information file (PII) associated with a graphical user interface object of with a software product. The present invention may also include indexing each element string within the PII file. The present invention may further include generating a base language general availability build of the graphical user interface object using the PII file. The present invention may also include retrieving a document object model (DOM) of each element within the base language general availability build. The present invention may further include creating a string relation table for the base language general availability build using the DOM for each element and each indexed element string within the PII file. The present invention may also include generating a string relation translation memory table for at least one language.
Description
- The present invention relates, generally, to the field of computing, and more particularly to software language translation.
- Computer programs may present information to a user in different languages. Upon installation of a program, the user may designate, from a list, the language in which the computer program may present information. For example, the user may be presented with a drop down menu listing the English language, the French language, the German Language, and the Spanish language. Therefore, the program developer may design the graphical user interface to properly accommodate translation into each of the presented languages.
- According to one embodiment, a method, computer system, and computer program product for context-aware translation is provided. The present invention may include receiving a program integrated information file associated with a graphical user interface object of with a software product. The present invention may also include indexing each element string within the received program integrated information file. The present invention may further include generating a base language general availability build of the graphical user interface object using the received program integrated information file. The present invention may also include retrieving a document object model of each element within the generated base language general availability build. The present invention may further include creating a string relation table for the generated base language general availability build using the retrieved document object model for each element and each indexed element string within the received program integrated information file. The present invention may also include generating a string relation translation memory table for at least one language using the created string relation table and a translation resource file associated with the at least one language.
- These and other objects, features and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings. The various features of the drawings are not to scale as the illustrations are for clarity in facilitating one skilled in the art in understanding the invention in conjunction with the detailed description. In the drawings:
-
FIG. 1 illustrates an exemplary networked computer environment according to at least one embodiment; -
FIG. 2 is an operational flowchart illustrating a context-aware translation process according to at least one embodiment; -
FIG. 3 is an operational flowchart illustrating a string relation translation memory table use process according to at least one embodiment; -
FIG. 4 is a block diagram of a translation suggestion box based on the relationship of graphical user interface elements according to at least one embodiment; -
FIG. 5 is a block diagram of a string relation table according to at least one embodiment; -
FIG. 6 is a block diagram of internal and external components of computers and servers depicted inFIG. 1 according to at least one embodiment; -
FIG. 7 depicts a cloud computing environment according to an embodiment of the present invention; and -
FIG. 8 depicts abstraction model layers according to an embodiment of the present invention. - Detailed embodiments of the claimed structures and methods are disclosed herein; however, it can be understood that the disclosed embodiments are merely illustrative of the claimed structures and methods that may be embodied in various forms. This invention may, however, be embodied in many different forms and should not be construed as limited to the exemplary embodiments set forth herein. In the description, details of well-known features and techniques may be omitted to avoid unnecessarily obscuring the presented embodiments.
- Embodiments of the present invention relate to the field of computing, and more particularly to software language translation. The following described exemplary embodiments provide a system, method, and program product to, among other things, analyze relationship information associated with a graphical user interface of a software program to select or suggest an accurate language translation. Therefore, the present embodiment has the capacity to improve the technical field of software language translation by increasing translation accuracy based on identifying the context of sibling strings.
- As previously described, computer programs may present information to a user in different languages. Upon installation of a program, the user may designate, from a list, the language in which the computer program may present information. For example, the user may be presented with a drop down menu listing the English language, the French language, the German Language, and the Spanish language. Therefore, the program developer may design the graphical user interface to properly accommodate translation into each of the presented languages.
- Typically, when strings of text are translated into different languages for graphical user interface (GUI) objects, only the files containing the text strings are translated. Translation techniques may not consider how some GUI objects, such as buttons and labels, will be understood by the user in the context of other viewable GUI objects. For example, the translation of the term “Accept” to a non-English language may not be the same for an “accept” button GUI object on a license agreement panel and an “accept” button GUI object on a file transfer dialogue box. As such, it may be advantageous to, among other things, perform a translation verification test that analyzes all GUI objects to be depicted to determine relationships between GUI objects that will be viewable to users.
- According to one embodiment, when a string of text is to be translated in a GUI object, an accurate translation may depend on the neighboring text strings and elements. String relation translation memory (SRTM) may be used to determine and store relationships between multiple strings. The relationship may be stored in a table and analyzed to calculate a rating for a number of proposed translations. The highest rated potential translation may be selected as the most accurate translation and automatically inserted into the translated GUI object. In at least one embodiment, a user may be presented with all proposed translations based on the relationship between the string and each sibling string to allow the user to select the most accurate translation for the GUI object.
- The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
- The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
- Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
- Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
- Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
- These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
- The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
- The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
- The following described exemplary embodiments provide a system, method, and program product to utilize a translation verification test that analyzes the context in which a text string is used in relation to neighboring text strings within a GUI object to determine an accurate language translation for the text string.
- Referring to
FIG. 1 , an exemplarynetworked computer environment 100 is depicted, according to at least one embodiment. Thenetworked computer environment 100 may includeclient computing device 102 and aserver 112 interconnected via acommunication network 114. According to at least one implementation, thenetworked computer environment 100 may include a plurality ofclient computing devices 102 andservers 112, of which only one of each is shown for illustrative brevity. - The
communication network 114 may include various types of communication networks, such as a wide area network (WAN), local area network (LAN), a telecommunication network, a wireless network, a public switched network and/or a satellite network. Thecommunication network 114 may include connections, such as wire, wireless communication links, or fiber optic cables. It may be appreciated thatFIG. 1 provides only an illustration of one implementation and does not imply any limitations with regard to the environments in which different embodiments may be implemented. Many modifications to the depicted environments may be made based on design and implementation requirements. -
Client computing device 102 may include aprocessor 104 and adata storage device 106 that is enabled to host and run asoftware program 108 and a context-aware translation program 110A and communicate with theserver 112 via thecommunication network 114, in accordance with one embodiment of the invention.Client computing device 102 may be, for example, a mobile device, a telephone, a personal digital assistant, a netbook, a laptop computer, a tablet computer, a desktop computer, or any type of computing device capable of running a program and accessing a network. As will be discussed with reference toFIG. 6 , theclient computing device 102 may includeinternal components 602 a andexternal components 604 a, respectively. - The
server computer 112 may be a laptop computer, netbook computer, personal computer (PC), a desktop computer, or any programmable electronic device or any network of programmable electronic devices capable of hosting and running a context-aware translation program 110B and adatabase 116 and communicating with theclient computing device 102 via thecommunication network 114, in accordance with embodiments of the invention. As will be discussed with reference toFIG. 6 , theserver computer 112 may include internal components 602 b and external components 604 b, respectively. Theserver 112 may also operate in a cloud computing service model, such as Software as a Service (SaaS), Platform as a Service (PaaS), or Infrastructure as a Service (IaaS). Theserver 112 may also be located in a cloud computing deployment model, such as a private cloud, community cloud, public cloud, or hybrid cloud. - According to the present embodiment, the context-
aware translation program aware translation program FIG. 2 . - Referring now to
FIG. 2 , an operational flowchart illustrating a context-aware translation process 200 is depicted according to at least one embodiment. At 202, the context-aware translation program software program 108, displayed within a GUI during program execution. Information stored within a program integrated information file may include Java® (Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle Corporation and/or its affiliates) environment property files and Microsoft.NET (Microsoft.NET and all Microsoft-based trademarks and logos are trademarks or registered trademarks of Microsoft Corporation and/or its affiliates) environment resource files. - Then, at 204, the context-
aware translation program aware translation program aware translation program - Next, at 206, the context-
aware translation program aware translation program aware translation program software program 108 or an inspector program, may be capable of analyzing the base language general availability build and locate a string from the user interface. The context-aware translation program - Then, at 208, the context-
aware translation program aware translation program aware translation program aware translation program - Next, at 210, the context-
aware translation program aware translation program aware translation program aware translation program -
Strings DOM Object ID String ID Neighbor strings OK myOK Button_OK_1 Cancel, ID, Password Cancel myCancel Button_Cancel_1 OK, ID, Password ID myID Field_ID OK, Cancel, Password Password myPSW Field_Password OK, Cancel, ID - Additionally, the context-
aware translation program aware translation program aware translation program aware translation program - Then, at 212, the context-
aware translation program aware translation program aware translation program aware translation program aware translation program - Referring now to
FIG. 3 , an operational flowchart illustrating a string relation translation memorytable use process 300 is depicted according to at least one embodiment. At 302, the context-aware translation program aware translation program aware translation program - Then, at 304, the context-
aware translation program aware translation program aware translation program - Next, at 306, the context-
aware translation program aware translation program aware translation program - Then, at 308, the context-
aware translation program aware translation program aware translation program aware translation program aware translation program - In at least one embodiment, the context-
aware translation program aware translation program aware translation program - Referring now to
FIG. 4 , a block diagram of atranslation suggestion box 400 based on the relationship of graphical user interface elements is depicted, according to at least one embodiment. Thetranslation suggestion box 400 may be presented to a user to allow the user to select a translation that is most suitable to the GUI objected being translated. When presenting thetranslation suggestion box 400, the context-aware translation program translation suggestion box 400 may display the “” translation and the “” translation alongside the “OK” GUI object to be translated. - Referring now to
FIG. 5 , a block diagram of a string relation table 500 is depicted, according to at least one embodiment. The string relation table 500 may be created by parsing the information within a document object model for each GUI object. As previously described, the string relation table 500 may detail the relationship between the elements within a GUI object as detailed by the domain model object. For example, the string relation table 500 may include rows for each string translation that further details the neighboring strings and a translation rate percentage for each translation of the string. - It may be appreciated that
FIGS. 3-5 provide only an illustration of one implementation and does not imply any limitations with regard to how different embodiments may be implemented. Many modifications to the depicted environments may be made based on design and implementation requirements. -
FIG. 6 is a block diagram 600 of internal and external components of theclient computing device 102 and theserver 112 depicted inFIG. 1 in accordance with an embodiment of the present invention. It should be appreciated thatFIG. 6 provides only an illustration of one implementation and does not imply any limitations with regard to the environments in which different embodiments may be implemented. Many modifications to the depicted environments may be made based on design and implementation requirements. - The data processing system 602, 604 is representative of any electronic device capable of executing machine-readable program instructions. The data processing system 602, 604 may be representative of a smart phone, a computer system, PDA, or other electronic devices. Examples of computing systems, environments, and/or configurations that may represented by the data processing system 602, 604 include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, network PCs, minicomputer systems, and distributed cloud computing environments that include any of the above systems or devices.
- The
client computing device 102 and theserver 112 may include respective sets ofinternal components 602 a,b andexternal components 604 a,b illustrated inFIG. 6 . Each of the sets of internal components 602 include one ormore processors 620, one or more computer-readable RAMs 622, and one or more computer-readable ROMs 624 on one ormore buses 626, and one ormore operating systems 628 and one or more computer-readabletangible storage devices 630. The one ormore operating systems 628, thesoftware program 108 and the context-aware translation program 110A in theclient computing device 102 and the context-aware translation program 110B in theserver 112 are stored on one or more of the respective computer-readabletangible storage devices 630 for execution by one or more of therespective processors 620 via one or more of the respective RAMs 622 (which typically include cache memory). In the embodiment illustrated inFIG. 6 , each of the computer-readabletangible storage devices 630 is a magnetic disk storage device of an internal hard drive. Alternatively, each of the computer-readabletangible storage devices 630 is a semiconductor storage device such asROM 624, EPROM, flash memory or any other computer-readable tangible storage device that can store a computer program and digital information. - Each set of
internal components 602 a,b also includes a R/W drive orinterface 632 to read from and write to one or more portable computer-readabletangible storage devices 638 such as a CD-ROM, DVD, memory stick, magnetic tape, magnetic disk, optical disk or semiconductor storage device. A software program, such as the context-aware translation program tangible storage devices 638, read via the respective R/W drive orinterface 632, and loaded into the respectivehard drive 630. - Each set of
internal components 602 a,b also includes network adapters orinterfaces 636 such as a TCP/IP adapter cards, wireless Wi-Fi interface cards, or 3G or 4G wireless interface cards or other wired or wireless communication links. Thesoftware program 108 and the context-aware translation program 110A in theclient computing device 102 and the context-aware translation program 110B in theserver 112 can be downloaded to theclient computing device 102 and theserver 112 from an external computer via a network (for example, the Internet, a local area network or other, wide area network) and respective network adapters or interfaces 636. From the network adapters orinterfaces 636, thesoftware program 108 and the context-aware translation program 110A in theclient computing device 102 and the context-aware translation program 110B in theserver 112 are loaded into the respectivehard drive 630. The network may comprise copper wires, optical fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. - Each of the sets of
external components 604 a,b can include acomputer display monitor 644, akeyboard 642, and acomputer mouse 634.External components 604 a,b can also include touch screens, virtual keyboards, touch pads, pointing devices, and other human interface devices. Each of the sets ofinternal components 602 a,b also includesdevice drivers 640 to interface tocomputer display monitor 644,keyboard 642, andcomputer mouse 634. Thedevice drivers 640, R/W drive orinterface 632, and network adapter orinterface 636 comprise hardware and software (stored instorage device 630 and/or ROM 624). - It is understood in advance that although this disclosure includes a detailed description on cloud computing, implementation of the teachings recited herein are not limited to a cloud computing environment. Rather, embodiments of the present invention are capable of being implemented in conjunction with any other type of computing environment now known or later developed.
- Cloud computing is a model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g. networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service. This cloud model may include at least five characteristics, at least three service models, and at least four deployment models.
- Characteristics are as follows:
- On-demand self-service: a cloud consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service's provider.
- Broad network access: capabilities are available over a network and accessed through standard mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile phones, laptops, and PDAs).
- Resource pooling: the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to demand. There is a sense of location independence in that the consumer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter).
- Rapid elasticity: capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time.
- Measured service: cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported providing transparency for both the provider and consumer of the utilized service.
- Service Models are as follows:
- Software as a Service (SaaS): the capability provided to the consumer is to use the provider's applications running on a cloud infrastructure. The applications are accessible from various client devices through a thin client interface such as a web browser (e.g., web-based e-mail). The consumer does not manage or control the underlying cloud infrastructure including network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.
- Platform as a Service (PaaS): the capability provided to the consumer is to deploy onto the cloud infrastructure consumer-created or acquired applications created using programming languages and tools supported by the provider. The consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but has control over the deployed applications and possibly application hosting environment configurations.
- Infrastructure as a Service (IaaS): the capability provided to the consumer is to provision processing, storage, networks, and other fundamental computing resources where the consumer is able to deploy and run arbitrary software, which can include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure but has control over operating systems, storage, deployed applications, and possibly limited control of select networking components (e.g., host firewalls).
- Deployment Models are as follows:
- Private cloud: the cloud infrastructure is operated solely for an organization. It may be managed by the organization or a third party and may exist on-premises or off-premises.
- Community cloud: the cloud infrastructure is shared by several organizations and supports a specific community that has shared concerns (e.g., mission, security requirements, policy, and compliance considerations). It may be managed by the organizations or a third party and may exist on-premises or off-premises.
- Public cloud: the cloud infrastructure is made available to the general public or a large industry group and is owned by an organization selling cloud services.
- Hybrid cloud: the cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability (e.g., cloud bursting for load-balancing between clouds).
- A cloud computing environment is service oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure comprising a network of interconnected nodes.
- Referring now to
FIG. 7 , illustrativecloud computing environment 50 is depicted. As shown,cloud computing environment 50 comprises one or morecloud computing nodes 100 with which local computing devices used by cloud consumers, such as, for example, personal digital assistant (PDA) orcellular telephone 54A,desktop computer 54B,laptop computer 54C, and/orautomobile computer system 54N may communicate.Nodes 100 may communicate with one another. They may be grouped (not shown) physically or virtually, in one or more networks, such as Private, Community, Public, or Hybrid clouds as described hereinabove, or a combination thereof. This allowscloud computing environment 50 to offer infrastructure, platforms and/or software as services for which a cloud consumer does not need to maintain resources on a local computing device. It is understood that the types ofcomputing devices 54A-N shown inFIG. 7 are intended to be illustrative only and thatcomputing nodes 100 andcloud computing environment 50 can communicate with any type of computerized device over any type of network and/or network addressable connection (e.g., using a web browser). - Referring now to
FIG. 8 , a set of functional abstraction layers 800 provided bycloud computing environment 50 is shown. It should be understood in advance that the components, layers, and functions shown inFIG. 7 are intended to be illustrative only and embodiments of the invention are not limited thereto. As depicted, the following layers and corresponding functions are provided: - Hardware and
software layer 60 includes hardware and software components. Examples of hardware components include:mainframes 61; RISC (Reduced Instruction Set Computer) architecture basedservers 62;servers 63;blade servers 64;storage devices 65; and networks andnetworking components 66. In some embodiments, software components include networkapplication server software 67 anddatabase software 68. -
Virtualization layer 70 provides an abstraction layer from which the following examples of virtual entities may be provided:virtual servers 71;virtual storage 72;virtual networks 73, including virtual private networks; virtual applications andoperating systems 74; andvirtual clients 75. - In one example,
management layer 80 may provide the functions described below.Resource provisioning 81 provides dynamic procurement of computing resources and other resources that are utilized to perform tasks within the cloud computing environment. Metering andPricing 82 provide cost tracking as resources are utilized within the cloud computing environment, and billing or invoicing for consumption of these resources. In one example, these resources may comprise application software licenses. Security provides identity verification for cloud consumers and tasks, as well as protection for data and other resources.User portal 83 provides access to the cloud computing environment for consumers and system administrators.Service level management 84 provides cloud computing resource allocation and management such that required service levels are met. Service Level Agreement (SLA) planning andfulfillment 85 provide pre-arrangement for, and procurement of, cloud computing resources for which a future requirement is anticipated in accordance with an SLA. -
Workloads layer 90 provides examples of functionality for which the cloud computing environment may be utilized. Examples of workloads and functions which may be provided from this layer include: mapping andnavigation 91; software development andlifecycle management 92; virtualclassroom education delivery 93; data analytics processing 94;transaction processing 95; and context-aware translation 96. Context-aware translation 96 may relate to analyzing data within a document object model to determine relationships between GUI objects to be translated and selecting or suggesting at least one language translation for the GUI objects based on the determined relationships. - The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Claims (1)
1. A computer system for context-aware translation to increase translation accuracy based on identifying a context between one or more sibling text strings, the computer system comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage media, and program instructions stored on at least one of the one or more tangible storage media for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising:
receiving, by a processor, a program integrated information file associated with a graphical user interface object of a software product;
indexing each element string within the received program integrated information file and associated with the graphical user interface object, wherein indexing each element string further comprises:
marking the received program integrated information file with one or more invisible Unicode characters;
generating a base language general availability build of the graphical user interface object using the received program integrated information file, wherein the base language general availability build is generated by merging the received program integrated information file with each indexed element string, and wherein a language of the generated base language general availability build is English;
retrieving a document object model of each element within the generated base language general availability build based on the one or more invisible Unicode characters, wherein the retrieved document object model is an application program interface that handles one or more documents in a tree structure where each node is an object within the one or more documents;
creating a string relation table for the generated base language general availability build using the retrieved document object model for each element and each indexed element string within the received program integrated information file, wherein the created string relation table details one or more relationships between each element within the graphical user interface object;
generating a string relation translation memory table for at least one language using the created string relation table and a translation resource file associated with the at least one language, wherein the generated string relation translation memory table displays one or more possible translations for each element within the graphical user interface object, and wherein the generated string relation translation memory table includes a translation rate probability score for each element within the graphical user interface object that relates to the accuracy of each translation, and wherein each translation rate probability score is displayed within the generated string relation translation memory table in a color corresponding to a preconfigured threshold value;
identifying a translation suggestion for each element of the graphical user interface object by analyzing the generated string relation memory table using an inspector program, wherein the inspector program is a firebug;
presenting the identified translation suggestion for each element to a user;
receiving a user selection of the presented translation suggestion; and
performing a translation of each element based on the received user selection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/938,318 US20180232365A1 (en) | 2017-02-15 | 2018-03-28 | Context-aware translation memory to facilitate more accurate translation |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/433,257 US10235361B2 (en) | 2017-02-15 | 2017-02-15 | Context-aware translation memory to facilitate more accurate translation |
US15/708,414 US9971767B1 (en) | 2017-02-15 | 2017-09-19 | Context-aware translation memory to facilitate more accurate translation |
US15/938,318 US20180232365A1 (en) | 2017-02-15 | 2018-03-28 | Context-aware translation memory to facilitate more accurate translation |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/708,414 Continuation US9971767B1 (en) | 2017-02-15 | 2017-09-19 | Context-aware translation memory to facilitate more accurate translation |
Publications (1)
Publication Number | Publication Date |
---|---|
US20180232365A1 true US20180232365A1 (en) | 2018-08-16 |
Family
ID=62091375
Family Applications (5)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/433,257 Expired - Fee Related US10235361B2 (en) | 2017-02-15 | 2017-02-15 | Context-aware translation memory to facilitate more accurate translation |
US15/708,414 Expired - Fee Related US9971767B1 (en) | 2017-02-15 | 2017-09-19 | Context-aware translation memory to facilitate more accurate translation |
US15/938,355 Abandoned US20180232366A1 (en) | 2017-02-15 | 2018-03-28 | Context-aware translation memory to facilitate more accurate translation |
US15/938,318 Abandoned US20180232365A1 (en) | 2017-02-15 | 2018-03-28 | Context-aware translation memory to facilitate more accurate translation |
US16/251,466 Expired - Fee Related US10528675B2 (en) | 2017-02-15 | 2019-01-18 | Context-aware translation memory to facilitate more accurate translation |
Family Applications Before (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/433,257 Expired - Fee Related US10235361B2 (en) | 2017-02-15 | 2017-02-15 | Context-aware translation memory to facilitate more accurate translation |
US15/708,414 Expired - Fee Related US9971767B1 (en) | 2017-02-15 | 2017-09-19 | Context-aware translation memory to facilitate more accurate translation |
US15/938,355 Abandoned US20180232366A1 (en) | 2017-02-15 | 2018-03-28 | Context-aware translation memory to facilitate more accurate translation |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/251,466 Expired - Fee Related US10528675B2 (en) | 2017-02-15 | 2019-01-18 | Context-aware translation memory to facilitate more accurate translation |
Country Status (1)
Country | Link |
---|---|
US (5) | US10235361B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170322944A1 (en) * | 2016-05-09 | 2017-11-09 | Coupa Software Incorporated | Automatic entry of suggested translated terms in an online application program |
US10318644B1 (en) | 2017-07-26 | 2019-06-11 | Coupa Software Incorporated | Dynamic update of translations for electronic resources |
US10528675B2 (en) | 2017-02-15 | 2020-01-07 | International Business Machines Corporation | Context-aware translation memory to facilitate more accurate translation |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200210030A1 (en) * | 2017-08-28 | 2020-07-02 | Micro Focus Llc | Translating text in user interfaces based on user interface contexts |
US10474482B2 (en) * | 2017-12-15 | 2019-11-12 | Citrix Systems, Inc. | Software application dynamic linguistic translation system and methods |
US20200065224A1 (en) * | 2018-08-21 | 2020-02-27 | International Business Machines Corporation | Context-sensitive derivation of relationships among program-integrated information messages |
US10776248B2 (en) * | 2018-11-28 | 2020-09-15 | International Business Machines Corporation | Automated source code writing style evaluation, validation, and modification |
US11126644B2 (en) * | 2019-01-31 | 2021-09-21 | Salesforce.Com, Inc. | Automatic discovery of locations of translated text in localized applications |
US20200257544A1 (en) * | 2019-02-07 | 2020-08-13 | Goldmine World, Inc. | Personalized language conversion device for automatic translation of software interfaces |
US11328113B1 (en) * | 2021-03-03 | 2022-05-10 | Micro Focus Llc | Dynamic localization using color |
Family Cites Families (45)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2758952B2 (en) * | 1989-12-28 | 1998-05-28 | 富士通株式会社 | Display Method for Japanese Document Reading and Translation System at Correction |
US5974372A (en) * | 1996-02-12 | 1999-10-26 | Dst Systems, Inc. | Graphical user interface (GUI) language translator |
US6442516B1 (en) * | 1999-01-29 | 2002-08-27 | International Business Machines Corporation | Software tool to perform concurrent national language translation builds |
EP1333374B1 (en) * | 2001-06-11 | 2016-09-07 | Sap Se | Dynamic generation of language localized and self-verified Java classes using XML descriptions and static initializers |
US20030115552A1 (en) * | 2001-11-27 | 2003-06-19 | Jorg Jahnke | Method and system for automatic creation of multilingual immutable image files |
US20030212982A1 (en) * | 2002-05-09 | 2003-11-13 | International Business Machines Corporation | Message compiler for internationalization of application programs |
US7784026B1 (en) * | 2002-06-05 | 2010-08-24 | Adobe Systems Incorporated | Web application internationalization |
US7249012B2 (en) | 2002-11-20 | 2007-07-24 | Microsoft Corporation | Statistical method and apparatus for learning translation relationships among phrases |
US7627479B2 (en) | 2003-02-21 | 2009-12-01 | Motionpoint Corporation | Automation tool for web site content language translation |
US7721271B2 (en) | 2004-04-22 | 2010-05-18 | Microsoft Corporation | Language localization and intercepting data using translation tables |
US7818282B2 (en) | 2004-07-02 | 2010-10-19 | International Business Machines Corporation | System and method for the support of multilingual applications |
US7793262B2 (en) * | 2004-07-29 | 2010-09-07 | International Business Machines Corporation | Method and apparatus for facilitating software testing and report generation with interactive graphical user interface |
CN100447743C (en) | 2005-06-24 | 2008-12-31 | 国际商业机器公司 | System and method for localizing JAVA GUI application without modifying source code |
US7761849B2 (en) | 2005-08-25 | 2010-07-20 | Microsoft Corporation | Automated analysis and recovery of localization data |
JP2007141123A (en) * | 2005-11-22 | 2007-06-07 | Internatl Business Mach Corp <Ibm> | Link of same character strings in different files |
US7711546B2 (en) * | 2006-04-21 | 2010-05-04 | Microsoft Corporation | User interface for machine aided authoring and translation |
JP4143661B2 (en) | 2006-09-11 | 2008-09-03 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Internationalized software test method, apparatus and program using test resource file and test font |
US8145993B2 (en) | 2007-01-03 | 2012-03-27 | Oracle International Corporation | XML-based translation |
US7797151B2 (en) | 2007-02-02 | 2010-09-14 | Darshana Apte | Translation process component |
JP4396994B2 (en) * | 2007-02-09 | 2010-01-13 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Resource file translation verification method, apparatus, and program |
US7983897B2 (en) | 2007-02-14 | 2011-07-19 | Google Inc. | Machine translation feedback |
CN101311897B (en) * | 2007-05-24 | 2012-02-22 | 国际商业机器公司 | Method and device for snatching at application program graphical user interface resource |
US7698688B2 (en) * | 2008-03-28 | 2010-04-13 | International Business Machines Corporation | Method for automating an internationalization test in a multilingual web application |
US8819628B2 (en) * | 2008-05-12 | 2014-08-26 | Ca, Inc. | Product localization device and method |
CN101615181B (en) * | 2008-06-27 | 2012-05-16 | 国际商业机器公司 | System and method for establishing internationalized network application |
US8296125B2 (en) | 2008-10-17 | 2012-10-23 | International Business Machines Corporation | Translating source locale input string to target locale output string |
JP4993319B2 (en) | 2009-02-13 | 2012-08-08 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Apparatus and method for supporting verification of software internationalization |
US8258947B2 (en) * | 2009-09-29 | 2012-09-04 | International Business Machines Corporation | Auto-translation of source strings in global verification testing in a functional testing tool |
US8732577B2 (en) | 2009-11-24 | 2014-05-20 | Clear Channel Management Services, Inc. | Contextual, focus-based translation for broadcast automation software |
CN102467497B (en) * | 2010-10-29 | 2014-11-05 | 国际商业机器公司 | Method and system for text translation in verification program |
US20150161160A1 (en) * | 2011-08-31 | 2015-06-11 | Google Inc. | Application Localization |
JP5756386B2 (en) * | 2011-09-30 | 2015-07-29 | インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation | Method, apparatus, and program for supporting generation and management of metadata for correcting problems of dynamic web application |
CN103377045B (en) * | 2012-04-27 | 2016-12-14 | 国际商业机器公司 | Method and system for Translation Verification Test |
US20140006004A1 (en) * | 2012-07-02 | 2014-01-02 | Microsoft Corporation | Generating localized user interfaces |
CN103577314B (en) * | 2012-07-30 | 2016-05-18 | 国际商业机器公司 | The method and apparatus that computer program is tested |
CN103713958B (en) * | 2012-09-28 | 2016-12-21 | 国际商业机器公司 | Method and apparatus at the machinery compartment synchronizing pattern operating user interface of different language |
US9501471B2 (en) | 2013-06-04 | 2016-11-22 | International Business Machines Corporation | Generating a context for translating strings based on associated application source code and markup |
US20160139914A1 (en) * | 2013-06-24 | 2016-05-19 | Hewlett-Packard Development Company, L.P. | Contextual-based localization based on manual testing |
CN104346153B (en) * | 2013-07-31 | 2018-04-17 | 国际商业机器公司 | Method and system for the text message of translation application |
US20150186132A1 (en) * | 2013-12-31 | 2015-07-02 | Wolters Kluwer United States Inc. | User interface framework and tools for rapid development of web applications |
US9336207B2 (en) * | 2014-06-30 | 2016-05-10 | International Business Machines Corporation | Measuring linguistic markers and linguistic noise of a machine-human translation supply chain |
US10261996B2 (en) * | 2014-12-19 | 2019-04-16 | Dropbox, Inc. | Content localization using fallback translations |
US9836457B2 (en) * | 2015-05-25 | 2017-12-05 | Panasonic Intellectual Property Corporation Of America | Machine translation method for performing translation between languages |
US10229220B2 (en) | 2016-05-09 | 2019-03-12 | Coupa Software Incorporated | Automatic entry of suggested translated terms in an online application program |
US10235361B2 (en) | 2017-02-15 | 2019-03-19 | International Business Machines Corporation | Context-aware translation memory to facilitate more accurate translation |
-
2017
- 2017-02-15 US US15/433,257 patent/US10235361B2/en not_active Expired - Fee Related
- 2017-09-19 US US15/708,414 patent/US9971767B1/en not_active Expired - Fee Related
-
2018
- 2018-03-28 US US15/938,355 patent/US20180232366A1/en not_active Abandoned
- 2018-03-28 US US15/938,318 patent/US20180232365A1/en not_active Abandoned
-
2019
- 2019-01-18 US US16/251,466 patent/US10528675B2/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170322944A1 (en) * | 2016-05-09 | 2017-11-09 | Coupa Software Incorporated | Automatic entry of suggested translated terms in an online application program |
US10229220B2 (en) * | 2016-05-09 | 2019-03-12 | Coupa Software Incorporated | Automatic entry of suggested translated terms in an online application program |
US10565282B1 (en) | 2016-05-09 | 2020-02-18 | Coupa Software Incorporated | Automatic entry of suggested translated terms in an online application program |
US10528675B2 (en) | 2017-02-15 | 2020-01-07 | International Business Machines Corporation | Context-aware translation memory to facilitate more accurate translation |
US10318644B1 (en) | 2017-07-26 | 2019-06-11 | Coupa Software Incorporated | Dynamic update of translations for electronic resources |
Also Published As
Publication number | Publication date |
---|---|
US20190155911A1 (en) | 2019-05-23 |
US10235361B2 (en) | 2019-03-19 |
US20180232366A1 (en) | 2018-08-16 |
US20180232364A1 (en) | 2018-08-16 |
US10528675B2 (en) | 2020-01-07 |
US9971767B1 (en) | 2018-05-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10528675B2 (en) | Context-aware translation memory to facilitate more accurate translation | |
US11150893B2 (en) | Collaborative software development tool for resolving potential code-change conflicts in real time | |
US11195104B2 (en) | Modifying an appearance of a GUI to improve GUI usability | |
US10552547B2 (en) | Real-time translation evaluation services for integrated development environments | |
US11243955B2 (en) | Latent token representations for passage and answer scoring in question answering systems | |
US11455337B2 (en) | Preventing biased queries by using a dictionary of cause and effect terms | |
US11275805B2 (en) | Dynamically tagging webpages based on critical words | |
US20170061287A1 (en) | FAQs UPDATER AND GENERATOR FOR MULTI-COMMUNICATION CHANNELS | |
US20200302350A1 (en) | Natural language processing based business domain modeling | |
US11068664B2 (en) | Generating comment excerpts within an online publication | |
US10776411B2 (en) | Systematic browsing of automated conversation exchange program knowledge bases | |
US9824113B2 (en) | Selective content storage with device synchronization | |
US20170126485A1 (en) | Providing recommended resolutions for events | |
US10902037B2 (en) | Cognitive data curation on an interactive infrastructure management system | |
US10176000B2 (en) | Dynamic assistant for applications based on pattern analysis | |
US11099969B2 (en) | Estimating the number of coding styles by analyzing source code | |
US11822884B2 (en) | Unified model for zero pronoun recovery and resolution | |
US11822555B2 (en) | Signaling and resolution model for multi-level session-based description descriptors | |
US11514121B2 (en) | Webpage customization | |
US20200372516A1 (en) | Analyzing temporal classes in user feedback |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CHANG, CHI-YING;CHEN, YI-CHUN;CHI, WEN-PING;AND OTHERS;SIGNING DATES FROM 20170206 TO 20170209;REEL/FRAME:045373/0952 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO PAY ISSUE FEE |