In cPanel and WHM version 11, there is a new feature that allows the user to determine the locale. There are certain factors in parameters that goes into determining the locale in cPanel. The localised login page stores the browser locale in a cPanel account. There are certain factors like the locale query string parameter, the session_locale cookie, the Accept-Language header, etc. that help in determining the visible locale when one logs into their cPanel, Webmail or WHM account.
The cPanel Service Daemon, better known as cpsrvd service run the following steps when the user logs into their cPanel, Webmail or WHM account for determining which locale to display. The steps are mentioned below.
However, the validity for the locale session is for one year and can be overridden by the session_locale cookie.
One thing to note for the users is that the cpsrvd service will only use the first service locale that is allocated Accept-Language header. The proper way is to look at the HTTP Accept-Language header sent to the server. This contains the ordered, weighted list of languages the user has configured their browser to prefer. For a browser and system set-up that does not align with any of the above-mentioned conditions, the login system will opt for the default locale which is the U.S. English locale.