Fortinet black logo

Administration Guide

Showing the SSL VPN portal login page in the browser's language

Showing the SSL VPN portal login page in the browser's language

By default, the browser's language preference is automatically detected and used by the SSL VPN portal login page. The system language can still be used by changing the settings on the SSL-VPN Settings page of the GUI, or disabling browser-language-detection in the CLI:

config vpn ssl settings
    set browser-language-detection disable
end

In this example, the sslvpnadmin user account is used for SSL VPN connections on the testportal1 SSL VPN portal. The account is shared by users from different countries that use different browsers and different languages in their browsers. The user on PC1 uses Chrome in English, and the user on PC2 uses Edge in Simplified Chinese. When a user logs in to the SSL VPN web portal, all of the pages are shown in the same language as their browser.

To configure the SSL VPN portal to use the client's browser language:
  1. Configure the SSL VPN portal:

    1. Go to VPN > SSL-VPN Portals and edit the SSL VPN portal.

      For information about configuring SSL VPN portals, see SSL VPN.

    2. Enable Web Mode.

    3. Click OK.

  2. Set the language preference:

    1. Go to VPN > SSL-VPN Settings.

    2. Under Web Mode Settings, set Language to Browser Preference.

    3. Click Apply.

  3. Add the sslvpnadmin user to the policy used by the SSL VPN portal.

  4. Confirm that the configuration works:

    • When the user on PC1 logs in to the SSL VPN portal using Chrome in English, all of the pages are shown in English.

    • When the user on PC2 logs in to the SSL VPN portal using Edge in Simplified Chinese, all of the pages are shown in Simplified Chinese.

Showing the SSL VPN portal login page in the browser's language

By default, the browser's language preference is automatically detected and used by the SSL VPN portal login page. The system language can still be used by changing the settings on the SSL-VPN Settings page of the GUI, or disabling browser-language-detection in the CLI:

config vpn ssl settings
    set browser-language-detection disable
end

In this example, the sslvpnadmin user account is used for SSL VPN connections on the testportal1 SSL VPN portal. The account is shared by users from different countries that use different browsers and different languages in their browsers. The user on PC1 uses Chrome in English, and the user on PC2 uses Edge in Simplified Chinese. When a user logs in to the SSL VPN web portal, all of the pages are shown in the same language as their browser.

To configure the SSL VPN portal to use the client's browser language:
  1. Configure the SSL VPN portal:

    1. Go to VPN > SSL-VPN Portals and edit the SSL VPN portal.

      For information about configuring SSL VPN portals, see SSL VPN.

    2. Enable Web Mode.

    3. Click OK.

  2. Set the language preference:

    1. Go to VPN > SSL-VPN Settings.

    2. Under Web Mode Settings, set Language to Browser Preference.

    3. Click Apply.

  3. Add the sslvpnadmin user to the policy used by the SSL VPN portal.

  4. Confirm that the configuration works:

    • When the user on PC1 logs in to the SSL VPN portal using Chrome in English, all of the pages are shown in English.

    • When the user on PC2 logs in to the SSL VPN portal using Edge in Simplified Chinese, all of the pages are shown in Simplified Chinese.