Jump to content

Parent/Child theme created not working


Recommended Posts

Hi there,

I just added a child theme based on parent “classic” theme (default theme of my Prestashop 8.0.4) and when I want to see all available translations through International/Translations/Modify translations (Type of translation: Front office Translations, Select your theme: new child created, Select your language: Spanish) the expected results page are continuously waiting and thinking without giving any result.

I followed this steps to add the child theme: https://devdocs.prestashop-project.org/8/themes/reference/template-inheritance/parent-child-feature/

Does anyone have any experience on this process?

PS: I made this child theme because in my version of Prestashop, and in some other versions, there is a bug that does not let you translate strings wrote for example in product.tpl file like this “{l s='Follow the instructions here: ' d='Shop.Theme.Global'}”

 

Thanks

Link to comment
Share on other sites

Hi,

They are the same exact steps I mentioned, with the exception of final activation of new child theme, which I just activated now but it does the same result. Server errors anywhere and the mentioned efects in back office translation section.

Thank you for your help 

Link to comment
Share on other sites

Good morning from Spain,

The problem is if I try to export languages selecting ‘Theme translations’ and then select my new child theme and click ‘Export’, I receive an internal server error 500.

What about exporting languages selecting ‘Prestashop translations’ then ‘Front office’ and export files to import them later from child theme as you suggested? But then I will have the wrong translations files in place …

By the way, which is the difference in my case between exporting a language selecting ‘Theme translations/select a theme’ and ‘Prestashop translations/Front office’?

Cheers!

Link to comment
Share on other sites

I found in a forum a post from a person who had almost the same problem as mine (after create child theme threw the same server error in bo). He solved the problem after detecting a missing space in theme.yml file.

I attach complete theme.yml file. Do you see something strange to correct?

Theme_yml_2024-11-20.png

Theme_yml_2_2024-11-20.png

Theme_yml_3_2024-11-20.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...