PeterGsson Posted January 16, 2024 Share Posted January 16, 2024 I downloaded PrestaShop 8.1.3 and installed. The installation was done in Swedish. Then English and Spanish were then installed. Some language changes have been made in the footer and products and are working. The problem is that Front Office translations do not work for English and Spanish, only in Swedish. I select "Front Office Translations" as well as the language (English or Spanish). On "Select your theme" I can't select anything, it just says "Core (no theme selected)". I click on "Modify" and I get to the page for translations and then in the upper right corner there is a small message with a red background that says "undefined". What could be the error and how to solve it? Sincerely Peter Link to comment Share on other sites More sharing options...
AddWeb Solution Posted January 25, 2024 Share Posted January 25, 2024 On 1/17/2024 at 2:50 AM, PeterGsson said: I click on "Modify" and I get to the page for translations and then in the upper right corner there is a small message with a red background that says "undefined". Hi The error message "undefined" in the upper right corner could be indicative of a JavaScript or server-side error. Kindly make sure that your server meets the system requirements for PrestaShop 8.1.3. Make sure that you have the required versions of PHP, MySQL, and other dependencies. Clear the PrestaShop cache to ensure that any outdated or corrupted data is removed. Open your browser's developer tools and check the JavaScript console for any error messages. Make sure that you have the latest translation packs for English and Spanish. If the packs are outdated or corrupted, it could cause issues with the translation functionality. You can update or reinstall them from the back office. Thanks! Link to comment Share on other sites More sharing options...
mavalentin Posted December 10, 2024 Share Posted December 10, 2024 Have you been able to solve this issue? I have the same problem and no other solution I found seems to work. Link to comment Share on other sites More sharing options...
mavalentin Posted December 10, 2024 Share Posted December 10, 2024 I have been able to find the issue for my specific situation: I was overriding in my theme a .tpl file of a module, which was using a single digit as a key: {l s='0' d='Modules.Smartblog.Posts'}. As this is is not allowed, I tried to override the .tpl file in my theme and removing this translation, which was anyway useless for translating a 0, but it was not working, still. I had to remove this translation directive also in the original module file, I guess because the Prestashop Translation scanner was scanning also the original module folder and got stuck at that point. After removing it also from the original file, the problem did not happen anymore. 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