Translation / Language files

JetBackup supports multi-language. You can translate our language files for your own language.

Language files are located here -

WHM

Translation

/usr/local/cpanel/whostmgr/docroot/templates/jetbackup/app/lang/en.js
/usr/local/cpanel/whostmgr/docroot/templates/jetbackup/app/lang/override/en.js
Copy the English file to the override folder (if the override folder doesn't exist you can create it).
Change the language code in the file name to your language code, and start translating.

For example:

change /usr/local/cpanel/whostmgr/docroot/templates/jetbackup/app/lang/override/en.js
to /usr/local/cpanel/whostmgr/docroot/templates/jetbackup/app/lang/override/xx.js (xx is your language code)
Change: code: "en-US" to your own language code(you can find your code here: http://www.lingoes.net/en/translator/langcode.htm)
If you want to override the English translation copy the file 'en.js' to the override folder and make your changes.

Time

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"
         }

cPanel

/usr/local/cpanel/base/frontend/paper_lantern/jetbackup/index.cmb-en.js

Copy the English file and change the language code in the file name to your language code, and start translating.

For example:

copy /usr/local/cpanel/base/frontend/paper_lantern/jetbackup/index.cmb-en.js to /usr/local/cpanel/base/frontend/paper_lantern/jetbackup/index.cmb-xx.js(xx is your language code)

WHM/cPanel translation structure

The translation structure is 'key':'value', change the value to your own translation.
For example: "AND": "AND", in French the translation will be: 'AND':'et'