Child pages
  • Locale XML Upload
For cPanel & WHM version 74

Skip to end of metadata
Go to start of metadata

(WHM >> Home >> Locales >> Locale XML Upload)

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.

    FileDescription
    /

    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_lanternUploads 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.

Additional documentation