Lingo Component
The localized PT application supports Japanese, German, and U.S. English languages and a hardware arena. The role of the Lingo component is to manage these localized user interfaces for the application. Lingo needs to support the following tasks that relate to presenting a localized user interface that reflects the user's language preference:
- When a user first accesses the PT application, Lingo detects the user's language preference and provides the user with the closest language version the application supports. Lingo Component, Using Lingo Methods to Match Language Preference, and Coding Global gate.asp describe how this is implemented.
- Users can build new language versions of the PT application screens from the Build menu. When a new language folder is added to the virtual root of the Web server where the PT application resides, the new language option appears in the Build drop-down menu. Using Lingo Methods to Merge XML Files describes the methods that create these menu options.
- The Build menu is created on the fly. The menu options reflect the languages that are currently available in the PT application. Using Lingo Methods to Load the Build Menu describes the methods in Lingo that work together to create the Build menu.
Lingo uses the LingoDeclarations module (LingoDeclarations.bas), which contains constants, type definitions, and Win32 API declarations.