Guide to Locales - Distribute a Custom Locale

Introduction

Use the /scripts/locale_export script to distribute your custom locales.

Notes:

  • In the following examples, Swiss High German (de_ch) is the customized locale to distribute. 
  • To distribute a custom locale to multiple target servers, you must repeat steps 3 through 5 on each target server.

Distribute a custom locale


Log in to the source server.

Use SSH to log in to the source server as the root user.

 


 

Run the /scripts/locale_export script.

Run the following command, where de_ch represents the locale that you wish to export:

/scripts/locale_export --locale=de_ch

This command creates the /var/cpanel/locale/export/de_ch.xlffile.

Note:

To view additional options for this script, run the/scripts/locale_export --help command. 

 


 

Use the scp command to copy the file to the target server.

For example, use the following command to distribute the de_ch.xlf file to the server.example.com server:

scp /var/cpanel/locale/export/de_ch.xlf root@server.example.com:/var/cpanel/locale/export/de_ch.xlf

This command copies the locale file to the /var/cpanel/locale/export/de_ch.xlf location on the server.example.com server.

 


 

Log in to the target server.

Use SSH to log in to the target server as the root user.

 


 

Run the /scripts/locale_import script to import the locale.

Run the following command, where de_ch represents the locale that you wish to import:

/scripts/locale_import --locale=de_ch

Note:

To view additional options for this script, run the/scripts/locale_import --help command. 

  • 7 Users Found This Useful
Was this answer helpful?

Related Articles

The cPanel Interface

For  cPanel  &  WHM  version  58 Overview The cPanel interface is...

User Preferences

For cPanel & WHM version 58 Overview This document outlines how to access your cPanel...

Manage External Authentications

For cPanel & WHM version 58 Overview Manage credentials Additional documentation...

What is cPanelID?

In This Article:  Overview ServicesHow to get a cPanelID cPanelID External...

Guide to cPanel Interface Customization - cPanel Style Development

Introduction You can develop custom styles that modify the appearance of the cPanel interface....