JetBackup supports multiple languages. You can localize and translate our language files for your own language.
Language files are located here -
/usr/local/cpanel/whostmgr/docroot/templates/jetbackup/app/lang/en/{SECTION.json}
/usr/local/cpanel/whostmgr/docroot/templates/jetbackup/app/lang/override/xx/
The "en" folder contains the default english language files for JetBackup, each file corresponding to each section in the JetBackup WHM interface. You may then copy the contents inside the English folder to the "/override/xx" folder and renaming "xx" with your preferred language code (for a list of language codes, please visit: Language Codes).
You may create the override folder if it doesn't exist.
For all WHM sections available for translation, please check the following directory:
/usr/local/cpanel/whostmgr/docroot/templates/jetbackup/app/lang/en
For example, to translate the dashboard interface to Spanish:
/usr/local/cpanel/whostmgr/docroot/templates/jetbackup/app/lang/override/es/
)/usr/local/cpanel/whostmgr/docroot/templates/jetbackup/app/lang/en/dashboard.json
to /usr/local/cpanel/whostmgr/docroot/templates/jetbackup/app/lang/override/es/dashboard.json
override/es/dashboard.json
file and begin translating:{
"Total Accounts" : "Cuentas Totales",
"Total Jobs" : "Trabajos Totales",
"Total Backups" : "Copias de Seguridad Totales",
"Jobs Running" : "Trabajos en Ejecución",
"New Alerts" : "Nuevas Alertas",
"Total Accounts Usage (%s)" : "Uso Total de Cuentas (%s)"
}
You can change the date format showing on the WHM GUI. To view the available format click on https://momentjs.com/docs/#/displaying/
date: {
/** See the moment date format documentation: https://momentjs.com/docs/#/displaying/ **/
short: "D MMM YYYY",
shorttime: "D MMM YYYY hh:mm A",
long: "ddd, MMM D, YYYY",
longtime: "ddd, MMM D, YYYY, hh:mm A"
}
/usr/local/cpanel/base/frontend/paper_lantern/jetbackup/app/lang/en/common.json
Unlike in the WHM interface, JetBackup uses a single common.json
file for translation
within JetBackup's cPanel Plugin interface.
You may then copy this file inside the English folder to the folder with your preferred
language code and begin translating.
For example:
copy /usr/local/cpanel/base/frontend/paper_lantern/jetbackup/app/lang/en/common.json
to /usr/local/cpanel/base/frontend/paper_lantern/jetbackup/app/lang/xx/common.js
(xx is your language code)