The cart is empty

How to translate SP Page Builder module

This article will explain how to translate sp page builder module, this is tested with sp page builder version 3.6.4 pro

sp page builder module translation 1

The translation don't work by default with module you have to modify a file in sp page builder.

The file is modules/mod_sppagebuilder/fields/pagebuilder.php (line 55-65)

You have to change the file like this :

// Addon List
$addons_list = SpAddonsConfig::$addons;

//fin sbou

foreach ( $addons_list as $key => &$addon ) {
$default_value = SpPgaeBuilderBase::getSettingsDefaultValue($addon['attr']);
$addon['default'] = $default_value['default'];
Joomla\CMS\Factory::getApplication()->triggerEvent('onBeforeAddonConfigure', array($key, &$addon));
//fin sbou

$globalDefault = SpPgaeBuilderBase::getSettingsDefaultValue($global_attributes);

After this change the languages tab is available on all supportd addon's (see Blockquote) Below.

sp page builder module translation 2