CesarDev Posted 16 hours ago Share Posted 16 hours ago 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 More sharing options...
Prestashop Addict Posted 16 hours ago Share Posted 16 hours ago Take a look at our tutorial (french, but you can translate it with GT or your browser) Link to comment Share on other sites More sharing options...
CesarDev Posted 15 hours ago Author Share Posted 15 hours ago 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 More sharing options...
CesarDev Posted 13 hours ago Author Share Posted 13 hours ago I see that there is no 'Translations' folder inside parent 'classic' theme, but if I try to export a lenguage using the new created child theme I receive a 'Server error 500'. Link to comment Share on other sites More sharing options...
Divine Posted 10 hours ago Share Posted 10 hours ago Hello, try to import parent theme translations in the child theme. It is not ideal but it may help. Link to comment Share on other sites More sharing options...
CesarDev Posted 2 hours ago Author Share Posted 2 hours ago 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 More sharing options...
CesarDev Posted 2 hours ago Author Share Posted 2 hours ago I attach you some screenshots in order to you be able to see the structure of configured files Link to comment Share on other sites More sharing options...
CesarDev Posted 7 minutes ago Author Share Posted 7 minutes ago 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? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now