Selecting an MUI Locale
A version of this page is also available for
4/8/2010
If your target device uses Control Panel, you can determine the default UI locale by using the Regional Settings dialog box. On a system that has no UI installed, the system shows the default UI value. If the selected setting differs from the boot language, a system reset is required to implement the new language choice. Control Panel applications that present this list call EnumUILanguages both to get the list and to add a language to the list.
If you do not use Control Panel in your target device, call EnumUILanguages to get the language identifiers of the available MUI languages, and then expose them to end users in a way that is appropriate to your design.
Note
Any time the end user switches the UI language, a system reset is required.
Because the Regional Settings dialog box does not currently include an end user notification message for the required reset, you will need to a message to the end user that prompts a reset. For example, once an end user has selected a language, you can create a Message Box to indicate that a system reset is required.
See Also
Reference
Other Resources
Programming with Unicode and NLS
National Language Support (NLS) Locale Identifiers