iipa Posted May 22, 2020 Share Posted May 22, 2020 Hi fellow Presta users! I am trying to translate my site. Otherwise things have been going decently, but for some reason I can't get GDPR translations to show in Front Office. In Back Office they are saved and showed OK. I have only 1 language in my shop, and translations are made in my currently used theme. I also tried to edit template file to use the new way of finding translations (mod='psgdpr' => d='Modules.Gdpr.Front'), but it does not fix the issue. I also tried to empty cache, but no difference. PrestaShop version: 1.7.6.4 Official GDPR Compliance version: 1.1.3 Has anybody come across the same issue and found a solution? Any kind of help would be greatly appreciated! Link to comment Share on other sites More sharing options...
migo Posted February 28, 2021 Share Posted February 28, 2021 Hi there Not the newest post but there is no answer and I do face the same issue on PS 1.7.6.9 & GDPR 1.2.1. Has anyone found an answer to this issue? Thanks and regards migo Link to comment Share on other sites More sharing options...
migo Posted February 28, 2021 Share Posted February 28, 2021 Ok, finally found a solution that works for me. I had to use the old translation system. However, it's not that straight forward to get there and it might not work for all (or newer) versions. Following the steps I took: International > Translations > Installed Modules Select a module that uses the old translation system. For me "Cron Task Manager" worked. Choose your language and click on edit. Scroll to the very bottom of the page. Select module psgdpr from the dropdown and click on change translation. Translate as desired and click on save when done. Refresh the appropriate site in FO and check if it works. I hope that this might help anyone else facing the same issue until it finally get's fixed by prestashop. Cheers, migo PS: My back office language is German. So apologies if any of the translations (e.g. buttons) does not match the correct English text. 1 Link to comment Share on other sites More sharing options...
albertmc Posted April 25, 2021 Share Posted April 25, 2021 Dear migo, Thank you very much, IT WORKS !. 👏👏👏👏 Thanks to your explanation I have managed to make the translation work. It is incredible how difficult it has been to find this valuable information. And that from the PRESTASHOP support they do not provide any solution. Thanks a million from Spain Albert Link to comment Share on other sites More sharing options...
migo Posted April 26, 2021 Share Posted April 26, 2021 Hi Albert I totally agree. However, I'm glad to hear that it helped someone :) migo Link to comment Share on other sites More sharing options...
Shaban Posted October 5, 2021 Share Posted October 5, 2021 I have the same problem with one module but funny thing is that translation for this module worked on my vps server but I had some internal error at validation page: However I installed prestashop on other server and I have no more problem with the order validation page but now I have problem with a module translation.. it always stays in english language. When I check translated files of the module its all translated as it should be but not used in front page. I use prestashop 1.7.7.5 I tested on 1.7.7.8 but the same problem. Link to comment Share on other sites More sharing options...
DAxPA Posted October 6, 2021 Share Posted October 6, 2021 Perfektní funguje to, já jsem to hledal asi 4 hodiny a zkoušel různé kombinace 🙂 Link to comment Share on other sites More sharing options...
Aufix Posted September 20, 2022 Share Posted September 20, 2022 Thanks Migo! Your solution saved me! Link to comment Share on other sites More sharing options...
fefrik2012 Posted November 3, 2022 Share Posted November 3, 2022 (edited) Hi, the solution is pretty simple. 1) Edit modules/psgdpr/psgdpr.php file and add your transalations for defined iso_code row in $presetMessageAccountCreation and $presetMessageAccountCustomer arrays. Example: Add 'cz' iso_code to psgdpr module and assign translated text. private $presetMessageAccountCreation = [ 'en' => 'I agree to the terms and conditions and the privacy policy', 'cz' => 'Souhlasím s podmínkami a zásadami ochrany osobních údajů', 'cb' => 'I agree to the terms and conditions and the privacy policy', 'es' => 'Acepto las condiciones generales y la política de confidencialidad', 'ag' => 'Acepto las condiciones generales y la política de confidencialidad', 'br' => 'Acepto las condiciones generales y la política de confidencialidad', 'mx' => 'Acepto las condiciones generales y la política de confidencialidad', 'de' => 'Ich akzeptiere die Allgemeinen Geschäftsbedingungen und die Datenschutzrichtlinie', 'qc' => 'Acepto las condiciones generales y la política de confidencialidad', 'fr' => 'J\'accepte les conditions générales et la politique de confidentialité', 'it' => 'Accetto le condizioni generali e la politica di riservatezza', 'nl' => 'Ik accepteer de Algemene voorwaarden en het vertrouwelijkheidsbeleid', 'pl' => 'Akceptuję ogólne warunki użytkowania i politykę prywatności', 'pt' => 'Aceito as condições gerais e a política de confidencialidade', 'ru' => 'Я соглашаюсь на использование указанных в этой форме данных компанией xxxxx для (i) изучения моего запроса, (ii) ответа и, при необходимости, (iii) управления возможными договорными отношениями.', ]; 2) Go to Prestashop Admin > Modules > Manage modules > select GDPR module > Select 'Restore original' option in dropdown menu. Edited November 3, 2022 by fefrik2012 (see edit history) 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