Configuring Run-Time Languages for Applications and Shared Libraries
You can specify the language or languages to use with a stand-alone application or shared library. By default, LabVIEW uses the same run-time language as Windows. If LabVIEW cannot use the Windows run-time language or the platform is non-Windows, LabVIEW defaults to English. Change the default behavior by configuring the run-time language options.
Note LabVIEW localizes text for items such as default run-time menus, default menu items for custom run-time menus, descriptions of error codes, and LabVIEW dialog boxes. However, you must localize the text for items such as captions and control descriptions.
You can configure the run-time language options for a stand-alone application using the following methods. The methods appear in order of precedence.
Run the application with the –langlanguage command-line argument, where language is the English name of the language you want to use.
Add the following line to the configuration file for the application: AppLanguage=language, where language is the English name of the language you want to use. Modifying the configuration file for the application does not modify the project settings.
(Windows) If you do not specify the language you want to use in the command line or the configuration file of the application, the application uses the operating system language. Navigate to Control Panel»Regional and Language Options to view the language settings for the operating system. If the application does not support the operating system language, the application uses the default language for the application.
Use the Default language option to configure the default language for the application. In the Project Explorer window, right-click an application under Build Specifications, select Properties from the shortcut menu, and navigate to the Run-Time Languages page of the Application Properties dialog box. If you previously hid Build Specifications in the Project Explorer window, you must display the item again to access it.
Use the Supported Languages option to configure the supported languages for an application in the build specification. In the Project Explorer window, right-click an application under Build Specifications, select Properties from the shortcut menu, and navigate to the Run-Time Languages page of the Application Properties dialog box to configure language options for the application. The Supported languages option on the Run-Time Languages page lists all supported languages.
If you do not specify a language using the previous options, the application uses the first available supported language in alphabetical order. The Supported languages option on the Run-Time Languages page of the Application Properties dialog box lists all supported languages. If the application cannot use any of the supported languages because the required language files have been deleted, corrupted, or are not readable, LabVIEW cannot load the application.
Note The LabVIEW Run-Time Engine is multilingual, so you do not have to include multiple versions of it with an application, shared library, or installer in order to use localized text.
You can use the Application:Language property to determine the default language for an application programmatically.