VMware does a great job with localizing their Windows based products - that means if you have your computer configured with one of the supported locales (usually identified by their ISO 639-1 codes e.g. de, en, fr, ko and zh_CN) then the menus and messages will be displayed in your local language rather than in English (which is the default).
However, this is not always useful. There might be situations where you prefer a program to use English (or another specific locale), no matter what your local computer is configured for, e.g. ...
- when reading a manual, blog post or other document that is in English and uses screenshots and error messages that are in English
- when you want to create such a document yourself in English, because you want to reach the widest possible audience
- when you use a third party script that interacts with vSphere and relies on events and message strings being formatted in English
- when you want to write such a script on your own (which you should try hard to avoid ...)
- when you are forced to work with a computer that is not your own and uses a language that you do not understand ...
1. (Legacy) vSphere Client
|Force English Locale in vSphere C# Client|
To force the legacy C# vSphere Client to use English you need to edit the desktop (or start menu) shortcut of the application and append the parameter -locale en to the target string, separated by a leading blank.
2. vSphere Web Client
|Force locale in the vSphere Web Client|
In the new vSphere Web Client you need to append the string ?locale=en_US to the start URL.
If you connect to a vCenter server using PowerCLI then the language that is used for formatting messages (e.g. events) is not determined by a client setting, but by the language settings of the vCenter server. They can be queried and set by using the SessionManager view of the ServiceInstance view:
# Connect to vCenter server: Connect-VIServer vcenter # Get ServiceInstance view $SI = Get-View ServiceInstance # Get SessionManager view $SessMgr = Get-View $SI.Content.SessionManager # Display current Default locale $SessMgr.DefaultLocale # Display all supported locales $SessMgr.SupportedLocaleList # Set current Locale to en(glish) $SessMgr.SetLocale("en")The change made with SetLocale() will only be valid until you disconnect the vCenter session. On a reconnect or with a later PowerCLI session the language setting will revert to what is defined as DefaultLocale.