Edit a Locale

Valid for versions 82 through the latest version

Version:

82


Overview

Use this interface to edit the locales on your server.

Important:
After you use this interface, you must run the /usr/local/cpanel/bin/build_locale_databases script from the command line. If you do not run this script, your changes will not appear in the cPanel interface until the next time that the upcp script runs.
Note:

To edit a locale offline, download the locale file from WHM’s Locale XML Download interface (WHM >> Home >> Locales >> Local XML Download). After you make the desired changes, upload the file in WHM’s Locale XML Upload interface (WHM >> Home >> Locales >> Locale XML Upload).

Locale Editor – Bulk Mode

The Bulk Mode editor allows you to edit any of a locale’s phrases.

To edit a locale’s phrases, perform the following steps:

  1. Select the desired locale from the Locale menu.

    Note:

    The cPanel Snowmen – i_cpanel_snowmen locale is not for general use. Theme customizers and third-party developers can use this locale to test cPanel & WHM’s localization system against their customizations.

    For more information, or for help if you selected this theme accidentally, read our The Snowman Locale documentation.

  2. Select a theme from the Theme menu.

  3. Click Go. A new interface will display.

  4. Click Edit under the phrase that you wish to edit.

  5. Edit the phrase in the Value text box.

  6. Click Save Changes to save your changes, or click cancel to cancel changes.

    Note:
    Click Revert to Default Value to undo changes or edits to a specific phrase.

Non-Standard Locale Configuration

This tool allows you to configure data for a non-standard locale. A non-standard locale is a language with no data in the CLDR. The system adds the prefix i_ to the names of these locales. These tags are standard ways to create, identify, and work with non-standard locales.

To configure a non-standard locale, perform the following steps:

  1. Select a locale from the Locale menu and click Go.

    Note:

    The cPanel Snowmen – i_cpanel_snowmen locale is not for general use. Theme customizers and third-party developers can use this locale to test cPanel & WHM’s localization system against their customizations.

    For more information, or for help if you selected this theme accidentally, read our The Snowman Locale documentation.

  2. Enter a display name in the Display Name text box.

  3. Select the fallback locale, number formatting, and character orientation from the appropriate menus.

    Note:
    When a non-standard locale’s lexicon does not have a phrase, the system displays the fallback locale’s phrase.
  4. Click Save.