Select Languages | |
A language in Paquet Builder is a group of resource strings translated into a given language (English, French...). Paquet Builder can create multilanguage packages: that means the package is compiled with several languages and it can display itself in the language selected by the end user at runtime - see below. For example if the user is French, the package can display its texts in French instead of English (default language), provided that you included the French language in the collection of languages compiled in the package.
Managing the language collectionLanguages that are compiled into the package constitute the language collection. You can add/remove/edit languages using the language manager:
The Language names are unique: you cannot have "English" twice for example (but "G.B. English" and "U.S. English" yes). To write new languages, please refer to the Resource String Editor's help topic.
Creating multilanguage packagesSince several languages can be compiled into the package, its user interface may be translated into the end user's own language. When the package is run, end users may be optionally prompted to select their favorite language in the language collection. This is the goal of the following options:
If you enable this option, end users will be asked at startup to select a language from the language collection. The following dialog box will be shown:
End users can select their favorite language in the list (all languages in the collection are listed) and then press OK to continue. If this option is enabled, then the package will try to determine the language that best fits the one of Windows. It asks Windows for the user locale ID (an identifier that is assigned to all languages: click here for further information) and then it compares it with the language IDs of the languages in its collection. If one ID corresponds, then the associated language is loaded. Otherwise if no one is found, then the default language (see above and below) is used.
By default packages use the Windows API GetUserDefaultUILanguage to obtain the language ID of the user. But if you users in majority use non MUI-Windows and old Windows versions, you may prefer to use the current user locale (the setting of "Your Locale" in the Regional Options applet of the Control Panel); in this case, enable this option.
If you enable the two first options, the package will first look for the more appropriate language and loads it if one is found, otherwise the default language will be used. Then it displays the list of available languages for user selection. You can also just enable the second option without prompting users for selecting a language: when no appropriate language is found, the package uses the default language. If you just enable the first option, the package loads the default language and then prompts users for selecting another language if they want it. About the role played by the default languageThe default language plays an important role because it is loaded when no language corresponding to the user locale is found, and more important: Paquet Builder uses it to determine whether some dialogs should be displayed or not. The following dialogs require special translation: Welcome, Readme, License Agreement and End screens. As they display rich texts (RTF) you need normally to write a localized rich text for each language you decide to compile into the package. This is done thanks to the language list
| |||
Paquet Builder Help - Copyright © G.D.G. Software. All rights reserved.