This article provides steps to determine the current default locale and the available locales, then to change the Windows account regional settings.
VMware vCenter Server for Windows supports multiple languages. When servicing requests from any API client, including the Web Client, vCenter Server provides messages in both a requested localization and the raw, non-localized message data. Localization-aware clients use the message data to perform their own localization.
One of vCenter Server's supported languages is defined as the default locale. vCenter Server uses the default locale providing localized messages to API clients which do not request a specific locale.
en_US
).en_US
).Note: The vSphere Web Client is localization-aware and leverages only the raw, non-localized message data received from vCenter Server. The client's locale affects the translation of non-data UI elements displayed in the client, such as tabs and actions. The client defaults to the locale of the platform on which the client is running and an alternate locale can be specified when starting the client. The vSphere Web Client's locale is not influenced by the locale of vCenter Server. For more information, see Forcing a localized vSphere Client or vSphere Web Client installation to launch in a localized language/English (1016403)
Retrieve the current default session locale and a list of supported locales from vCenter Server using PowerCLI or the Managed Object Browser. Neither method will request a specific locale for the session, revealing the default.
Using PowerCLI:
Connect-VIServer vCenterServerHostnameOrIPAddress
SessionManager
object using the command:
$sm = Get-View (Get-View ServiceInstance).Content.SessionManager
$sm.MessageLocaleList
$sm.CurrentSession.MessageLocale
Using the Managed Object Browser:
https://vCenterServerHostnameOrIPAddress/mob/?moid=SessionManager
in a web browser.messageLocaleList
property.currentSession
link to view its details.messageLocale
property.vCenter Server honors the regional settings of the Windows account under which the "vpxd
" VMware VirtualCenter Server service is running. vCenter Server can run as the Microsoft Windows built-in LocalSystem
account or a local administrator user account granted the Log on a a service privilege. This is configured during installation of vCenter Server. For more information, see the Using a User Account for Running vCenter Server section of the vSphere Installation and Setup guide.
If the installation configuration is unknown, use PowerShell or the Services snap-in to determine the service's account.
Using PowerShell:
vpxd
service using the command:Get-WMIObject Win32_Service -Filter "name='vpxd'" | Format-List Name, StartName
StartName
field contains either LocalSystem
or a named service account. Take note of the account name.Using the Windows interface:
The method used for changing the regional settings of a named service account can be made directly. Settings for the LocalSystem
account are can be copied from another user account. Use the steps from the appropriate section to change the account's locale.
If the vCenter Server service is running under a named service account, use one of these methods to change the regional settings of the service account.
Set-Culture CultureInfoCode
Set-Culture de_DE
Get-Culture
LCID Name DisplayName
---- ---- -----------
1031 de-DE German (Germany)
LocaleName
from HKEY_CURRENT_USER\Control Panel\International\
and push the change to the service account manually or using Group Policies. For more information, see the Microsoft TechNet article How to change Regional Settings for all users on a computer.Changes to the regional settings for a Windows account take effect when the vCenter Server service is restarted. By extension, active API client sessions are disconnected. New client sessions use the new default locale. For more information, see Stopping, starting, or restarting VMware vCenter Server 5.x services , or Stopping, starting, or restarting VMware vCenter Server 6.0 services
LocalSystem
accountIf the vCenter Server service is running under the LocalSystem
account, make the desired regional settings change for a regular user account as in the Change regional settings for a service account section above and then use one of these methods to copy those settings to the LocalSystem
account.
Warning: Changing regional settings for the LocalSystem
account may have effects on other services installed on the same server. Evaluate the behavior of other services before making this change.
LocalSystem
using the Control Panel interface. For more information see the Microsoft Windows article Apply regional and language settings to reserved accounts.LocalSystem
account.HKEY_CURRENT_USER\Control Panel\International\
and push the change to the LocalSystem
account under HKEY_USERS\.DEFAULT\International\
. For more information, see the Microsoft TechNet article How to change Regional Settings for all users on a computer.Changes to the regional settings for the LocalSystem
account take effect when Windows is restarted. By extension, the vCenter Server service is restarted and all API clients are disconnected. New client sessions connecting to vCenter Server use the new default locale.
As of vSphere 6.0 (released 2015-03-12), valid locale codes include de
(German), en
(English), fr
(French), ja
(Japanese), ko
(Korean), zh_CN
(Simplified Chinese), zh_TW
(Traditional Chinese). Consult the vSphere release notes or the SessionManager.messageLocaleList
property for a list of available locales in a specific vCenter Server installation.
The method in this article may be preferable to the one described in Changing the language of VMware vSphere email alerts affect VMware vRealize Operations Manager 5.x
How to stop, start, or restart vCenter Server services
Forcing a localized vSphere Client or vSphere Web Client installation to launch in a localized language/English
Default folder names generated by the vCenter Server Appliance do not reflect the browser's language setting
How to stop, start, or restart vCenter Server 6.x services