In cPanel & WHM version 11.32, we introduced a localized login page that allows users to select a locale for their session. This document explains the factors that determine the locale that you see when you log in to cPanel, WHM, or Webmail.
cpsrvd service checks
When you log in to the cPanel, WHM, or Webmail interface, the
cpsrvd service performs the following checks to determine which locale to display:
localequery string parameter exists in the URL.
For example, the URL
If the URL has a
localequery string parameter, the browser sets the
session_localecookie to the same value.
session_localecookie overrides the account's configured locale.
session_localecookie is valid for one year.
- If your browser already contains the
session_localecookie, the login interface and the rest of the user's session uses the specified locale.
If the URL does not specify a
localequery string, and the browser does not have a
cpsrvdservice checks if your browser sent an
Accept-Languageheader. If your browser sent an
cpsrvdservice uses the first valid locale that corresponds to the value of the
Not all browsers allow the
If you have not configured any of the above parameters, the login system uses the selected locate in the Server Locale option in WHM's How We Determine a Browser Locale interface (WHM >> Home >> Server Configuration >> Tweak Settings).
cPanel & WHM stores this setting in the
/var/cpanel/cpanel.configfile as the
- If your system does not meet any of the above conditions, the login system uses the U.S. English locale by default.