Page tree
Skip to end of metadata
Go to start of metadata

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.44

(Home >> Locales >> Edit a Locale)

Overview

This feature provides the tools to help you edit locales.

Locale Editor - Live Mode

This tool allows you to edit a locale's collection of translated phrases with the cPanel interface.

To edit a locale's collection of translated phrases, perform the following steps:

  1. Select a locale from the Locale menu.
  2. Select a theme from the Theme menu.
  3. Select a reseller account from the Reseller menu.
  4. Click Go. The system will redirect you to the cPanel interface.
  5. Click the phrase in green that you wish to edit. An editor window will appear.
  6. Edit the phrase in the Value text box.
  7. Click Evaluate Expression to check whether the system can successfully change the edited phrase.
  8. Click Save Changes to confirm changes, or click cancel to cancel changes.

If you wish to make these changes offline, download the locale file from the Locale XML Download interface (Home >> Locales >> Local XML Download). Then, after you make the desired changes, upload the file in the Locale XML Upload interface (Home >> Locales >> Locale XML Upload).

Note:

This tool requires that you have a reseller account with all of the features enabled. Otherwise, you cannot edit all of the language tags. In addition, if you disallow root or reseller logins to cPanel user accounts, this feature will not work. To re-enable the Locale Editor - Live Mode, select one of the following options in the Tweak Settings - System interface (Home >> Sever Configuration >> Tweak Settings):

  • Root, Account-Owner, and cPanel User — To allow the root user and the reseller to access the cPanel account
  • Account-Owner and cPanel User Only — To allow the reseller to access the cPanel account

Locale Editor - Bulk Mode

This tool allows you to edit any of a locale's phrases.

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

  1. Select a locale from the Locale menu.
  2. Select a theme from the Theme menu.
  3. Click Go. The system will redirect you to a new page.
  4. Click Edit under the phrase that you wish to edit.
  5. Edit the value in the text box.
  6. Click Save Changes to confirm 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 CLDRThe 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.
  2. Click Go.
  3. Enter a display name in the Display Name text box.
  4. 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 looks it up in the "fallback" locale.

  5. Click Save.