1. Technical Field
Aspects of the present invention relate to software products. More particularly, aspects of the present invention relate to providing users with application content in a local language.
2. Description of Related Art
Computing systems exist in a number of languages. A number of software applications and operating systems are created in a first language then ported over to other languages. This is sometimes referred to as localization of the applications and operating systems. However, a number of software applications are never translated into other languages. These applications remain available only in their source language for a variety of reasons. Sometimes the high cost of localization is not expected to be met by sales of applications in other languages. Other times, the software developer may lack the skills needed to effectively translate or have translated the nuances of an application into other languages. These and other reasons bar users of different languages from using applications that have not been translated into their specific languages.
A conventional process of creating applications in more than one language is shown in
Some techniques exist to allow applications to be more easily translated for users of other languages. First, some systems provide links to automated machine translation dictionaries that are accessed in real-time to translate text to be displayed to a user into that user's local language. Here, the automated machine translation dictionaries have no knowledge of terms as used in an application. The selected translation typically has nothing in common with previously translated words. A difficulty with this approach is that mere mechanical dictionary translations are of generally poor quality. File in a source language (relating to the act of accessing a location for a document) may be translated as a metal sharpening device using mere dictionary translations.
Second, as shown in
Three issues exist with the system of
Aspects of the present invention address one or more of the issues mentioned above, thereby providing applications to users of different languages. Aspects of the invention include the use of operating system-level translation tables that may be used alone or in conjunction with other translation tables to provide translations of messages.
These and other aspects are addressed in relation to the Figures and related description.
Various aspects of the present invention are illustrated in the attached figures.
Aspects of the present invention relate to providing an ability to translate applications and operating systems. Through using an operating system-level translation table alone or in combination with other translations tables (including application-specific translation tables and community translation tables), applications may be able to be used in other languages.
The following is separated into various sections to assist the reader. These headings include: general-purpose computing environment; table-based localization; location of translation tables; operating system integration; and examples of translation table usage.
General-Purpose Computing Environment
Aspects of the invention may be described in the general context of computer-executable instructions, such as program modules, executed by one or more computers or other devices. Generally, program modules include routines, algorithms, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments.
Computing device systems 100 and 201 typically include at least some form of computer readable media. Computer readable media can be any available media that can be accessed by server 103 or system 201. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by server 103 or system 201. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of any of the above should also be included within the scope of computer readable media.
With reference to
Table-Based Localization
Applications may provide translations to users using aspects of the present invention. In some aspects of the present application, the operations of the present may be described as occurring at one or more levels: an application level and/or an operating system level.
The operating system may provide an engine that allows fast translations by comparing intercepted text destined for a system resource loader or GDI with a stored table of translated text. The stored table may have translations of each term individually and/or may include only strings of text. The strings may be the entire content or sentences displayed to a user in a menu/button/dialog box and the like. One advantage of having corresponding translations of strings of text is that the meaning of terms in the strings is maintained. This way the resulting translation will always correspond to the source text.
The engine may reside in the operating system or elsewhere. Where there is no translation table designated, the engine may pass on the intercepted system resource loader or GDI calls to their intended destinations. One advantage of placing the engine at the operating system level is that application developers may need to modify their code less if at all to provide translations of their applications. In some situations, the application developers may desire to use only the translation table accessed by the operating system. In other situations, the application developers may desire to provide additional or alternative translation tables in order to accomplish the following:
The redirecting engine allows the interception and eventual redirection of the content of the user interface's resource element data exchanges between the application 402, the system resource loader 401 and the system GDI 403.
The translation tables (including the operating system's translation tables(s) and the application(s) translation tables) take advantage of the engine's functionality to offer an alternative source of data containing UI elements in the desired target language. The operating system's translation table may include items from the generic operating system. It may or may not also include terminologies from popular applications. For simplicity, the operating system's translation table whether or not including terminologies from popular applications is referred to as a “core translation table”. Application developers may supplement the operating system's translation table by including application specific translation tables.
The nature of the translation tables may be a unidirectional mapping from a single source language to a single target language. Alternatively, the translation tables may a bi-directional mapping between the source and target languages. Further, the translation tables may be mappings (unidirectional or bidirectional) between a single source language and multiple target languages. The specification of the target language helps determine which of the target languages to use.
If no match is found in step 505 (because of no match or no application translation table exists), then the system looks up the data against core translation tables in the target language in step 508. If a match is found in step 509, then the system performs step 506 and continues from there. If no match is found in step 509, then the application is redirected to the resource loader or GDI for normal processing.
Step 503 is shown in greater detail in
The results, modifications, or description of modifications made to data in the simplify and normalize step 503 as shown in
Referring again to
Communities may provide the community-built translation tables, for instance, to address new translation of uncovered terminology or translation for new languages through a community effort via a community glossary. As described above,
Machine translation 513 may or may not be an option. In some instances, machine translation dictionaries may not exist that bridge source and target languages.
Step 506 may include the restoration of hotkeys by using the source or target language. One benefit of using the source language to regenerate hotkeys is that associations in the application or operating system may remain.
The engine that intercepts the data exchange in step 502 may be embodied in a number of ways including as combination of a dynamic link library and a database. For example, the dynamic link library may be responsible for one or more of the following tasks:
If using the Microsoft Windows® operating system, a registry key may be created, for example under HKEY_CURRENT_USER\Software\MAT\ to store one or more of the following values:
For other implementations, different storage locations may be used.
In some cases, for instance with non-Unicode applications, a matching system locale may be needed to properly display the user interface elements in the language desired by the user. In these cases, if the target language is not handled by the currently set system locale, the system may attempt to simulate the matching system locale. These processes may occur in the background to a user when a list of target applications is predefined and non-Unicode applications are identified.
The database component of the engine may include a file that includes the list of applications and also tags non-Unicode applications.
The system may provide a user interface to a user to modify how data to be translated is addressed.
Here, end users can decide either not to localize the target language or to launch the application in an alternative language. Also, as above, the resizing value for windows and dialog boxes to compensate for text size increase induced by translation. A further editor may be provided to developers that allow them to extract their application's UI elements and provide new/alternative translation for them. The editor allows the developer to create a translation table binary file to be shipped along their application.
Location of Translation Tables
The location of translation tables may vary.
The user's system 704 with processor 706 may use the translation tables 701-703 in a variety of ways. First, the user's system may access the translation tables directly and use them while running an application (as shown by the arrows between the translation tables 701-703 and system 704. Second, the translation tables may be installed locally in system 704 as 705 and accessed directly. Third, the translation tables may be placed at a local location as represented by local translation table(s) 707. These three approaches may be used in varying combinations.
Operating System Integration
Examples of Translation Table Usage
In
In
Aspects of the present invention have been described in terms of illustrative embodiments thereof. Numerous other embodiments, modifications and variations within the scope and spirit of the appended claims will occur to persons of ordinary skill in the art from a review of this disclosure.