The Locale Option property sets the rules for how to conditionalize the installation based on the end user's system locale. These rules are implemented mainly through the Locale Panel, and only apply to those features, nested features, and components with their Locale property specified. Those features/components without their Locale property specified are not affected, i.e., are always available for installation.
NOTE 1: The statement "available for installation" indicates whether or not the feature will appear on the Feature Panel, giving the end user the ability to select/deselect it for actual installation. A Locale Panel should be included in the Wizard Root Installer Tree regardless of which option is set for this property. If the Locale Panel is not included, the locales default to the locales set in the Selected Locales property, and this property is ignored.
NOTE 2: A locale is "supported" if it is one of the available locales listed in the Selected Locales property. The Locale Panel compares the system locale with the available locales based on language, country, and variant, as follows:
- First, it attempts to match all three parameters.
- If there is no match, then it attempts to match language plus country.
- If there is still no match, it attempts to match language only.
- Finally, if all three of these attempts fail, then the locale is unsupported, and those features/components with their Locale property set to that locale are not available for installation.
Select one of the following options:
- "System" - The features/components whose locale matches the end user's system locale are available for installation. If no features/components whose Locale property is set match the system locale, then no locale-specific items are available for installation. In either situation, the Locale Panel does not appear.
- "Prompt" - The Locale Panel always appears and prompts the end user to select one or more locales, and it must be included in the Wizard Root Installer Tree.
- "System Then Prompt" - If the end user's system locale is supported, the features/components for that locale are available for installation, and the Locale Panel does not appear. If the system locale is not supported, then the Locale Panel appears, and the end user is prompted to select one or more locales.
- "System Then Default" - If the end user's system locale is supported, then the features/components for that locale are available for installation. If the system locale is not supported, then all locale-specific items listed in the Selected Locales property are available for installation. In either situation, the Locale Panel does not appear.