The language a user sees in the Zendesk Help Center is determined by several factors. These factors are based on the locales presented by the user's browser or device at the time of accessing the site.
The order of preference for these variables is as follows:url_locale
,session_locale
,user_locale
,preferred_browser_locale
, andcompatible_browser_locale
. Thecompatible_browser_locale
is determined by a Ruby gem used by Zendesk to estimate the closest available locale to the browser's preferred locale. For more details, you can check theoriginal link.
Theurl_locale
is the most prioritized factor in determining the language of the Zendesk Help Center. It directly specifies the language through the URL. When a user accesses the Help Center, if the URL includes a specific locale, that locale…
Thesession_locale
is the second factor in determining the language of the Zendesk Help Center. It is set during a user's session. If the URL does not specify a locale, the session locale will be used to determine the language. This locale is…
Theuser_locale
is the third factor in determining the language of the Zendesk Help Center. It is based on the user's profile settings. If neither the URL nor the session specifies a locale, the Help Center will default to the user's locale as…
Thepreferred_browser_locale
is the fourth factor in determining the language of the Zendesk Help Center. It is based on the browser's language settings. If no other locale is specified, the Help Center will use the preferred language set in the…
Thecompatible_browser_locale
is the last factor considered for determining the language in the Zendesk Help Center. It is an estimated guess made by a Ruby gem. When none of the other locales are specified, Zendesk uses a Ruby gem to estimate…