To delete a locale in cPanel, navigate to the locale management interface, select the locale you want to remove from the dropdown menu, click Delete, and confirm your choice. Note that you cannot delete default locales that come pre-installed with cPanel and WHM, only custom locales you've added.
What Is a Locale in cPanel?
A locale defines the language and regional settings for your cPanel interface. When you customize or add locales to your hosting environment, you can later remove those custom additions if they're no longer needed. However, the system protects built-in locales from deletion to maintain core functionality.
Steps to Delete a Custom Locale
Follow these simple steps to remove a locale from your cPanel system:
- Log into your cPanel account and access the locale management interface
- Select the locale you want to delete from the Locale dropdown menu
- Click the Delete button
- Click Yes when prompted to confirm the deletion
The selected locale will be permanently removed from your system. Users who were using that locale will automatically switch to the default system locale.
Important Limitations When Deleting Locales
You cannot remove locales that come pre-installed with cPanel and WHM. The system only allows deletion of custom locales that have been manually added or installed. This restriction protects the core language files necessary for proper system operation.
If you attempt to delete a default locale, the option will be grayed out or unavailable in the interface.
Rebuilding the Locale Database
After deleting one or more locales, you should rebuild the locale database to update the system's list of available languages. To do this, click the rebuild the locale databases link at the bottom of the locale management interface. This process ensures that your system accurately reflects all currently installed locales and removes references to deleted ones.
Frequently Asked Questions
Can I restore a deleted locale?
Once you delete a locale, it's permanently removed from your system. To use that locale again, you'll need to reinstall it through the locale installation interface. Make sure you really want to delete a locale before confirming the action.
What happens to users currently using a deleted locale?
If users were actively using a locale when you delete it, they'll automatically be switched to the system's default locale. They may notice their interface language changes, so it's good practice to notify users before removing locales they might be using.
Why can't I delete certain locales?
You cannot delete the default locales that come bundled with cPanel and WHM. These core language files are protected to ensure the system always has at least the essential language options available. You can only delete custom locales that you or another administrator manually added.
Do I need to rebuild the database after every deletion?
While not strictly required, rebuilding the locale database after deleting locales is highly recommended. This process updates the system's internal list and ensures clean operation. It only takes a moment and prevents potential confusion or errors related to removed locales.
If you need assistance with locale management or have questions about your hosting configuration, the OBHost support team is available 24/7. Visit our contact page or email support@obhost.org for help.