Knowledgebase

Locale XML Upload  Print this Article

Overview:

This feature allows you to upload a locale in XML format to your server. After you upload a locale, your users can select it from within the cPanel interface.

  • If the locale does not already exist on your server, the system creates all necessary files.
  • If the locale exists on your server, the system performs the following actions:
    • Core files — The system only adds keys from the XML data that do not already exist. The system does not overwrite any keys.
    • Local edit files — The system overwrites keys on the server with the XML data, and adds any keys that do not already exist.

Upload an XML File

To upload an existing locale, perform the following steps:

  1. Click Choose File.
  2. Select the XML file that you wish to upload.
  3. Click Upload to complete the process.

Legacy Language File Upload

This interface allows you to upload your own language file or a third-party language file. To upload a language file, perform the following steps:

  1. Click this interface.
  2. Click Choose File, and select the file that you wish to upload.
  3. Select the theme that you wish to upload to from the Theme menu:
    • / — Uploads the root language file, which supplies verbiage for the cPanel interface when a necessary term does not exist in the primary language files.
    • paper_lantern — Uploads the Paper Lantern theme’s language files.
    • A custom theme on the server — If you have a custom cPanel theme, select that theme to upload its language file. The system stores language files for custom themes in the /usr/local/cpanel/base/frontend/themename/lang/ directory, where themename represents the name of the custom theme.
  4. Click Upload.

Was this answer helpful?

Related Articles

Configure Application Locales
Overview: cPanel-provided statistics software supports a variety of languages. If the software’s...
Copy a Locale
Overview: This interface allows you to duplicate a locale in to a standard locale or a...
Delete a Locale
Overview: This interface allows you to delete a locale. Note: You cannot remove the locales...
Edit a Locale
Overview: Use this interface to edit the locales on your server. Important: After you use...
Locale XML Download
Overview: This interface allows you download an existing locale (language) in XML format. You...