Search the Community
Showing results for tags 'prestashop translations'.
-
I have a Prestashop 1.7 website where I had to override the ps_mainmenu module ( main file of the override ) . Now the override works fine except the fact that I am not able add a necessary translation for a text. I am sharing below how I have written in the code. Kindly tell me if there is any mistake or am I not looking in the right place for tranlsation in admin panel public function getViewAllLink($menu) { if ($menu['url'] && $menu['type'] == "category") { return [ 'type' => 'view-all', 'label' => $this->trans('ALLES ANZEIGEN', [], 'Modules.Mainmenu.Mainmenu'), 'url' => $menu['url'], 'children' => [], // You can customize this if needed 'open_in_new_window' => false, 'image_urls' => [], 'page_identifier' => $menu['page_identifier'], 'current' => false, 'depth' => $menu['depth'] + 1, // Assuming depth is an integer ]; } return null; } I had checked in admin panel module translations as well as front office translation. All other translations in the main file is similar to this too. I think it's using the new translation system too. One of the fixes suggested was to add the following code public function isUsingNewTranslationSystem() { return true; } but that didn't do the trick
-
Hello experts, I need you help in urgent. I am facing an issue with prestashop multistore theme translation. When I translate a perticular text for store one that will save for store two also. And if translate that string for store two then that will effect store one again. So the conclusion which i got is if we use same string for multiple shops, then the most recent shop translation will save for other shops as well. Its very urgent, please help me. My prestashop version is 1.7.5.2 Thank you.
-
- prestashop1.7
- prestashop multistore
- (and 3 more)
-
Hi, I am having issues with the translations regardless of what I tried to change, the page is just won't saved. Always 404 error. I am using Prestashop 1.5.6.2 (will try to upgrade to v.1.6 soon). Here are the steps of what I am trying to do: Localization > Translations > Installed modules translations > [select the theme(not default theme)] > [select ENGLISH] flag. Under Module stsocial, change "Get Social" to "Follow Us". Then Save. Error page 404. Here, doesn't matter which module and what text I tried to change, when click on the Update or Update and stay button, I received 404 error message. I researched on the previous prestashop translations issues and tried almost all the relevant options but still not fixed. I contacted the hosting company but they cannot help. What exactly can they help apart from restart the apache server and ensure that the mod_security and mode_rewrite are enabled? Below are those I tried. -make sure back office-->advanced parms-->performance-->smarty is not set to 'never compile' -cmod is 755 to public_html and all its folders and files under it. -.user.ini or .php.ini settings register_globals = Off; magic_quotes_gpc = Off; max_execution_time = 1000; max_input_time = -1; memory_limit= 1024M; upload_max_filesize= 128M; post_max_size= 512M; max_input_vars = 5000; (even set to 10000, still not work) suhosin.get.max_vars = 5000; (even set to 10000, still not work) suhosin.post.max_vars = 5000; (even set to 10000, still not work) -click on Update Translations button in BO. This is automaticailly create en.php file to all theme's translation files as informed by the author of the theme. -tried the .htaccess fault i.e In the back office under SEO & URL tab I have set "friendly" and "canonical" URL's to NO, saved the preferences, then i have deleted the entire code within .htaccess, went back to the SEO & URL tab, set "friendly" & "canonical" URL back to YES and pressed the save button. -created the AdminTranslations.php as someone had suggested in one of the posts. Still not work. Could someone please help me?
-
- prestashop translations
- translations 404
- (and 3 more)