Edit a Locale

Edit a Local

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 (Home >> Locales >> Local XML Download). After you make the desired changes, upload the file in WHM's Locale XML Upload interface (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 one of the following options from the Theme menu:
    • / — Edit both the x3 and Paper Lantern themes.
    • x3 — Edit the x3 theme.
    • x3mail — Edit the x3mail theme.

  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.
  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Související články

Configure Application Locales

Configure Application Locals cPanel-provided statistics software supports a variety of...

Copy a Locale

Copy a Local  This interface allows you to duplicate a locale in to a standard locale or a...

Delete a Locale

Delete a Local This interface allows you to delete a locale. Note: You cannot remove the...

Locale XML Download

Local XML Download This interface allows you download an existing locale (language) in XML...

Locale XML Upload

Local XML Upload This feature allows you to upload a locale in XML format to your server. After...