共用方式為


/LCID (devenv.exe)

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Sets the default language used for text, currency, and other values within the integrated development environment (IDE).

Syntax

devenv {/LCID|/l} LocaleID

Arguments

LocaleID Required. The LCID (locale ID) of the language you specify.

Remarks

Loads the IDE and sets the default natural language for the environment. This change is persisted between sessions and reflected on the International Settings pane of the Environment options in the Options dialog box in the IDE.

If the specified language is not available on the user's system, the /LCID switch is ignored.

The following table lists the LCIDs of the languages supported by Visual Studio.

Language LCID
Chinese (Simplified) 2052
Chinese (Traditional) 1028
English 1033
French 1036
German 1031
Italian 1040
Japanese 1041
Korean 1042
Spanish 3082

Example

This example loads the IDE with English resources strings.

devenv /LCID 1033

See Also

Devenv Command Line Switches International Settings, Environment, Options Dialog Box Customizing window layouts