
Translation not working in overridden prestashop theme in version 1.7
The new version of prestashop 1.7 has the ability to override the theme, i.e.:
- Without any additional changes, the child theme will use all the templates from the parent theme.
Redefinition is necessary in order not to lose your added changes to the theme when updating the theme. To learn more about this topic, go to link.
What will be the difference between parent and child theme:
Parent theme (config/theme.yml):
Child theme (config/theme.yml):
There is currently a translation issue in the child theme (overridden theme). The problem is that the child theme doesn't pick up the parent theme's translation if the child theme doesn't have the translation.
The bug is present in version 1.7.8 and above. On github I found fixes in the code that led to this error:
Link to developer patch file:
https://github.com/PrestaShop/PrestaShop/commit/de446f282455ecc985ce041d53904526510d09f8#diff-e327e2f223367acca317185cc7011c5fc3a9b736245ba5b494dcf177be805a7c