Multilingual user interface for an operating system
First Claim
1. In an operating system, a method for redirecting a call by a calling process for a first datum residing in a first binary file, said method comprising the steps of:
- storing in a variable independently of said calling process, a language identifier;
when a second binary file, corresponding to said language identifier and also to an identifier of either said first datum or said first binary file, is found;
dynamically generating a path to said second binary file responsively to said language identifier and said either said first datum or said first binary file;
storing said path in a look-up table correlating a process module identifier identifying said first binary file and an alternate module identifier identifying said second binary file; and
making an alternate datum in said second binary file accessible to said calling process instead of said first datum.
2 Assignments
0 Petitions
Accused Products
Abstract
In an operating system, a function to address resources in executable files is modified to redirect calls for resources to language-specific resources responsively to a user-setting defining a selected language. The language-specific resources are contained in alternate language modules through a dynamic addressing scheme that allows the alternate language file suite to be expanded without modification to any central routing facility. The invention provides resource-handling components the capability for handling multiple-language resources without requiring any specific directions from the processes requesting the resources This allows the operating system to provide multilingual support while using existing resource and executable binary files without modification. A user is enabled to select a language for the user interface and the resource loader will automatically redirect calls for resources to the appropriate resources.
115 Citations
58 Claims
-
1. In an operating system, a method for redirecting a call by a calling process for a first datum residing in a first binary file, said method comprising the steps of:
-
storing in a variable independently of said calling process, a language identifier;
when a second binary file, corresponding to said language identifier and also to an identifier of either said first datum or said first binary file, is found;
dynamically generating a path to said second binary file responsively to said language identifier and said either said first datum or said first binary file;
storing said path in a look-up table correlating a process module identifier identifying said first binary file and an alternate module identifier identifying said second binary file; and
making an alternate datum in said second binary file accessible to said calling process instead of said first datum. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25)
-
-
26. In an operating system, a method for redirecting a call by a calling process for a first resource datum residing in a first binary file containing both executable code defining said calling process and resource data, said calling process being defined in said code, said method comprising the steps of:
-
storing in a variable independently of said calling process, a language identifier;
when a second binary file, corresponding to said language identifier and also to either said first resource datum or said first binary file, is found;
dynamically generating a path to said second binary file responsively to said language identifier and said either said first resource datum or said first binary file;
making an alternate resource datum in said second binary file accessible to said calling process instead of said first resource datum. - View Dependent Claims (27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47)
-
-
48. A method of adding multilingual capability to an operating system having functions to address first resource data in executable binary files, the method comprising the steps of:
-
adding a selectable user-setting for storing a selected language identifier;
adding at least one alternate language resource file containing resource data each corresponding to a respective one of said first resource data; and
modifying a resource loader to redirect calls for each of said first resource data to a respective one of said alternate language resource data responsively to a selected language stored in said selected language identifier.
-
-
49. In an operating system, a method of addressing data responsively to a call by a calling process for a first datum stored in a first binary file, comprising the steps of:
-
determining an existence of an alternate language file corresponding to said first datum;
when a result of said step of determining is an indication that said alternate language file exists dynamically generating a path to said alternate language file based on a language identifier and said first datum and returning to said calling process at least one datum from said alternate language file, rather than from said first binary file;
when a result of said step of determining is an indication that said alternate language file does not exist, returning said first datum to said calling process.
-
-
50. In an operating system, a method for redirecting a call by a calling process for a first datum residing in a first binary file, said method comprising the steps of:
-
storing in a variable independently of said calling process, a language identifier;
responsively to a detection of a second binary file, corresponding to said language identifier and also to an identifier of either said first datum or said first binary file;
dynamically generating a path to said second binary file responsively to said language identifier and said either said first datum or said first binary file;
storing said path in a look-up table correlating a process module identifier identifying said first binary file and an alternate module identifier identifying said second binary file; and
making an alternate datum in said second binary file accessible to said calling process instead of said first datum.
-
-
51. In a computer operating system, a method of dynamically redirecting a call by a calling process for a default resource stored in a default binary file to an alternate resource stored in an alternate binary file, the method comprising the steps of:
-
finding the alternate resource, wherein the alternate resource corresponds to both a previously stored user interface language identifier and an identifier of either the default resource or the default binary file;
dynamically generating a path to the alternate binary file based on the user interface language identifier and either the default resource or the default binary file;
dynamically redirecting the call for the default resource to the alternate resource by making the alternate resource, rather than the default resource, accessible to the calling process. - View Dependent Claims (52, 53, 54, 55, 56, 57, 58)
storing the dynamically generated path in a look-up table that correlates the default resource with the alternate resource to produce a stored dynamically generated path; and
using the stored dynamically generated path to redirect to the alternate resource a subsequent call for the default resource.
-
-
53. The method of claim 51 wherein the alternate resource binary file is stored in a subdirectory of a directory in which the default binary file is stored, the subdirectory corresponding to the user interface language identifier.
-
54. The method of claim 51, wherein the step of dynamically redirecting the call for the default resource to the alternate resource by making the alternate resource, rather than the default resource, accessible to the calling process further comprises the step of mapping the alternate resource into an address space of the calling process.
-
55. The method of claim 51, wherein the calling process is defined in a code portion of the default binary file.
-
56. The method of claim 51, wherein the step of dynamically redirecting the call for the default resource to the alternate resource by making the alternate resource, rather than the default resource, accessible to the calling process further comprises the step of generating a handle to the alternate resource for use by the calling process in accessing the alternate resource.
-
57. The method of claim 51, further comprising the step of, when an alternate binary file corresponding to the user interface language identifier and also to either the default resource or the default binary file is not found, making the default resource accessible to the calling process.
-
58. The method of claim 51, wherein the default resource is one of data defining an icon, a cursor, a menu, a dialog box, a bitmap, an enhanced metafile, a font, an accelerator table, a message-table entry, a string-table entry, or a version.
Specification