Edit a Locale
Valid for versions 106 through the latest version
Version:
106
Last modified: June 13, 2024
Looking for this interface?
Your hosting provider can enable or disable this interface for resellers in WHM's Edit Reseller Nameservers and Privileges interface (WHM >> Home >> Resellers >> Edit Reseller Nameservers and Privileges).
Overview
Use this interface to edit the locales on your server.
/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.
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:
-
Select the desired locale from the Locale menu.
Note:Don’t see your language of choice? Take our Language Support Feedback Survey to let us know your preferences.
-
Select a theme from the Theme menu.
-
Click Go. A new interface will display.
-
Click Edit under the phrase that you wish to edit.
-
Edit the phrase in the Value text box.
-
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:
- Select a locale from the Locale menu and click Go.
- Enter a display name in the Display Name text box.
- 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.
- Click Save.
The Snowman locale
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.
We hide the i_cpanel_snowmen
locale by default. To make the i_capnel_snowmen
locale visible, create the following touch file:
/var/cpanel/enable_snowmen
i_cpanel_snowmen
locale, remove the touch file.