Inventors:
Anil Bhansali - Newcastle WA
Brian D. Wentz - Seattle WA
Assignee:
Microsoft Corporation - Redmond WA
International Classification:
G09G 500
Abstract:
Communicating local information, such as a user interface language, between a host application and a software component. In response to a users request, the host application invokes the software component to perform a task addressing the users request, such as generating user interface message. In order to determine the appropriate language for the user interface message, the software component queries the host application to identify the user and to return the user interface language requirements for the user. In the case where the host application is an end-user application, the host returns the current user interface language as the user interface language requirement. When the host application is a server application using a multi-threaded environment, the host application returns the user interface language of the currently running thread at the time of the query. If the host application is not an end-user application or does not use a multi-threaded architecture, the software component provides contextual information in a parameter of the query to aid the host application in determining the user interface language requirements. In the event that the software component does not receive user interface requirements from the host application, the software component follows a priority scheme to determine the user interface language.