Locale XML Upload

Local XML Upload

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 type of file you wish to upload from the Theme menu.

       
      Uploads the Paper Lantern theme's language files.
      File
      Description
      /

      Uploads the root language file, which supplies verbiage for the cPanel interface when a necessary term is not present in the primary language files.

      x3 Uploads a new x3 theme language file.
      x3mail Uploads the cPanel mail interface’s language file.
      paper_lantern
      • If you have a custom cPanel theme, select that theme to upload its language file.

        Note:

        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.

  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

Configure Application Locales

Configure Application Locals cPanel-provided statistics software supports a variety of...

Copy a Locale

Copy a Local  This interface allows you to duplicate a locale in to a standard locale or a...

Delete a Locale

Delete a Local This interface allows you to delete a locale. Note: You cannot remove the...

Edit a Locale

Edit a Local Use this interface to edit the locales on your server. Important: After you...

Locale XML Download

Local XML Download This interface allows you download an existing locale (language) in XML...