Documentation forWeb Help Desk

Customize the Client interface with a non-English language

If you want to customize the Client interface with a non-English language, do the following:

  1. Locate the language and corresponding country code of your targeted language.
  2. Create a custom labels properties file and define the new language properties in the file.
  3. Update your web browser with the new language settings, and then restart your web browser.

Locate the language and corresponding country code

To customize the Client interface to your targeted language, follow the procedures below to locate the language and corresponding code for your targeted country and language.

Locate the country code using the ISO 3166 Country Codes website

  1. Open a web browser and navigate to the ISO 3166 Country Codes resource.
  2. In the resource under How Can I Access ISO 3166, click Online Browsing Platform.
  3. In the table, locate the English short name and corresponding Alpha-2 code for your targeted country. You can also use the Search field to locate your country information.

  4. Record the Alpha-2 code for your country.

    If your targeted country is not listed in the table, go to the next section.

Locate the country code using the Library of Congress website

  1. Open a web browser and navigate to Codes for the Representation of Names and Languages located on the Library of Congress website.
  2. Locate the English name of your targeted language.

    For example, you can search for Arabic.

  3. Locate the corresponding ISO 639.1 code for your targeted language.

    For example, the targeted code for Arabic is: 

    ar

  4. Use this code to create a custom labels properties file.

Create a custom labels properties file

The Labels.properties file located at <WebHelpDesk>/conf/labels contains all the default labels used by the application. This file is updated and replaced each time you upgrade to the next version.

To customize the Web Help Desk user interface with a non-English language, create a CustomLabels.properties file based on the Labels.properties file and add the country code to the file name as specified by ISO 639 and 3166. The new file should contain the custom labels in the required language (the label translations mapped to the label name).

The CustomLabels.properties file should only include the labels you need to change. When the application searches the CustomLabels.properties file and does not find your targeted language properties, it will search the Labels.properties file for the properties it needs.

Do not edit the Labels.properties file. This file contains the label configurations for the entire application. The application will use the default labels for any value not found in the CustomLabels.properties file.

  1. Log in to the Web Help Desk server as an administrator.
  2. Navigate to <WebHelpDesk>/conf/labels.
  3. Back up the Labels.properties file to a safe place.
  4. Duplicate the Labels.properties file and rename it:

    CustomLabels.xx.properties

    where xx is the country code you recorded in an earlier step.

    For example, if ar is your country code, rename the file:

    CustomLabels.ar.properties

  5. Restart Web Help Desk.

Update your web browser with the new language settings

Reset your Google Chrome, Mozilla Firefox, or Microsoft Edge settings so all content in the web browser displays in your targeted language.

The following procedures may vary based on recent updates to each web browser.

Google Chrome

  1. Open Google Chrome.
  2. Click ... in the top right corner and select Settings.
  3. Under Settings, click Advanced and select Languages.
  4. Click the down arrow next to your primary language setting.

    For example, English.

  5. Click Add languages.

  6. Select the checkbox next to your targeted language, and then click Add.

    For example, Arabic.

  7. Click the ... icon next to your targeted language and select Move to the top.

    Your targeted language displays as the first language preference for Chrome.

  8. Close the browser window.
  9. Restart Chrome.

Firefox

  1. Open Firefox.
  2. Click the menu icon in the left corner.

  3. Select Options.
  4. In the General page, scroll down to Languages.
  5. Click Choose.

  6. Select the targeted language for displaying web pages, and then click Add.

    For example, Arabic.

    Your targeted language displays in the window.

  7. Click OK.
  8. Click Set Alternatives.

  9. Click Select a language to add and then select your targeted language used to display menus, messages, and notifications, and then click OK.

    For example, Arabic.

    Your selected language is now the preferred language for displaying menus, messages, and notifications in the web browser.

  10. Restart Firefox to apply your changes.

Microsoft Edge

  1. Open a new web browser.
  2. Click ... in the top left corner and select Settings.
  3. In the Settings menu, click Languages.
  4. Under Languages, click Add Languages.

  5. Select your targeted language, and then click Add.

    For example, if your targeted language is Arabic, select the Arabic checkbox.

    Your selected language displays under English.

  6. Click ... next to your selected language and select Move to the top.

    Your targeted language is displayed as the first language that displays in the web browser.

  7. Close the Settings window.
  8. Restart your web browser.