What's New
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
Hi,
The problem is a bug in Prestahshop 1.7.8.8 and Prestashop 8, Prestashop native translation system can’t work fine in the child theme, please Modify the /src/PrestaShopBundle/Translation/Loader/SqlTranslationLoader.php file to resolve the problem.
Replace the code
($this->theme !== null ? '= "' . $this->theme->getName() . '"' : 'IS NULL')
with
($this->theme !== null ? ' IN ("' . $this->theme->getName() . '"'.($this->theme->get('parent') ? ',"' . $this->theme->get('parent'). '"' : '').')' : 'IS NULL')
See the enclosed screenshot.
Don’t forget to clear the Smarty cache.
Best regards.
You must be logged in to reply to this topic.