JetBackup supports multiple languages, and you can localize and translate our language files to your desired language.
The process to translate JetBackup will depend on your panel version, cPanel/WHM or DirectAdmin. Please pay special attention and ensure you're copying files to the paths that correspond with your Panel.
/usr/local/jetapps/var/www/jetbackup5/docroot/app/lang/en/{SECTION.json}
/usr/local/jetapps/var/www/jetbackup5/docroot/app/lang/override/xx/
Step 1 - Copying the Language Files
The "en" folder contains the default English language files for JetBackup and each file corresponds to a section in the JetBackup WHM interface. These files will be used as a starting point for translating JetBackup.
The "override" folder does not exist by default. You may need to create the override folder if it doesn't exist.
For all WHM sections available for translation, please check the following directory:
/usr/local/jetapps/var/www/jetbackup5/docroot/app/lang/en
For a list of language codes, please refer to http://www.lingoes.net/en/translator/langcode.htm.
Step 2 - Start Translating
For example, to translate the JetBackup Dashboard to Spanish:
/usr/local/jetapps/var/www/jetbackup5/docroot/app/lang/override/es
)/usr/local/jetapps/var/www/jetbackup5/docroot/app/lang/en/common.json
to /usr/local/jetapps/var/www/jetbackup5/docroot/app/lang/override/es/common.json
override/es/common.json
file in your preferred text editor and begin translating.Here is an example snippet:
{
"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)"
}
JetBackup can be translated in DirectAdmin using the guide below. Please note that this guide only goes into detail on translating JetBackup. If you'd like to translate other areas of the DirectAdmin interface, you will need to follow their documentation here: https://help.directadmin.com/item.php?id=704
DirectAdmin has a community forum for 3rd Party Language packs on the default Evolution Skin at: https://forum.directadmin.com/forums/evolution-skin.96/
** Please exercise caution when downloading external files!
/usr/local/directadmin/plugins/jetbackup5/images/app/lang/en/{SECTION.json}
/usr/local/directadmin/plugins/jetbackup5/images/app/lang/override/xx/
Step 1 - Copying the Language Files
The "en" folder contains the default English language files for JetBackup and each file corresponds to a section in the JetBackup DirectAdmin interface.
You may need to create the override folder if it doesn't exist. Please note that for DirectAdmin, you will need to create an override folder in the 2 file paths listed above.
For all sections available for translation, please check the following directory:
/usr/local/directadmin/plugins/jetbackup5/images/app/lang/en/
For a list of language codes, please refer to http://www.lingoes.net/en/translator/langcode.htm.
Step 2 - Setting Permissions
/usr/local/jetapps/var/www/jetbackup5/docroot/app/lang/
should be owned by root:root and permissions should be 644 for files, 755 for Directories./usr/local/directadmin/plugins/jetbackup5/images/app/lang/
should be owned by diradmin:diradmin and permissions should be 644 for files, 755 for Directories.If the file ownership and permissions are not set properly, the interface will revert to the default English version regardless of any translated files.
Step 3 - Start Translating
Once permissions have been set, you may start translating each section in your language folder by editing the associated {SECTION}.json file.
For example, to translate the JetBackup Dashboard to Spanish:
/usr/local/directadmin/plugins/jetbackup5/images/app/lang/override/es/
)/usr/local/directadmin/plugins/jetbackup5/images/app/lang/en/common.json
to /usr/local/directadmin/plugins/jetbackup5/images/app/lang/override/es/common.json
override/es/common.json
file in your preferred text editor and begin translating.Step 4 - Changing the Language in DirectAdmin
After translating the files, you will need to ensure the panel language for DirectAdmin is set properly. This can be done on a per-user or global basis.
** You may replace the "admin" text in the below path with the user account you'd like to edit.
/usr/local/directadmin/data/users/admin/user.conf
/usr/local/directadmin/data/users/admin/reseller.conf
/usr/local/directadmin/conf/directadmin.conf
in your preferred text editor.NOTE: This will not translate the DirectAdmin UI, only JetBackup 5 will be translated globally. To add a language in DirectAdmin, click here.
Here is an example snippet from common.json after translating to Spanish:
{
"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)"
}