Context::getContext()->getTranslator()->trans('Successful.', [], 'Admin.Notifications.Success');
You can use this code in your files for Prestashop 1.7 and above.
Context::getContext()->getTranslator()->trans('Successful.', [], 'Admin.Notifications.Success');
You can use this code in your files for Prestashop 1.7 and above.