The last version break completly Translate for SP Page Builder.
You change the code i give to you and you pass variable to the event but there are not initialize, This in
administrator/components/com_sppagebuilder/editor/traits/AddonsTrait.php
line 142
$flattenAddon = $addon;
PluginHelper::importPlugin('system');
Factory::getApplication()->triggerEvent('onBeforeAddonConfigure', [$addonName, &$addonStructure]);
$addonStructure = AddonsHelper::modernizeAddonStructure($flattenAddon);
This can't work addonStructure is defined after ......
Here is the right code,
$flattenAddon = $addon;
$addonStructure = AddonsHelper::modernizeAddonStructure($flattenAddon);
$addonDefaults = EditorUtils::extractSettingsDefaultValues($addonStructure['settings']);
$addonStructure['default'] = array_merge($globalDefaults, $addonDefaults);
$addonStructure['desc'] = $addonStructure['desc'] ?? '';
PluginHelper::importPlugin('system');
Factory::getApplication()->triggerEvent('onBeforeAddonConfigure', [$addonName, &$addonStructure]);
$flattenList->$addonName = $addonStructure;
i put in attachment my email another time, just send me the next version of this file i can check it quickly