Laurent NODOVA Posted November 6, 2020 Share Posted November 6, 2020 (edited) Hi everyone, I just activated the gift wrapping option in Prestashop's back office for Christmas (I have an e-shop in French), and I realise the "I WOULD LIKE MY ORDER TO BE GIFT WRAPPED" text is in English-only, even if all the rest of the website is in French. I saw on the following topic where to find this text to be translated: It's in International > Translation > Theme Translation and there I'm supposed to find it inside Shop > Theme > Checkout. However, there is no such text to be found. Even using the search bar, it doesn't return any result matching the beginning of this text Can it be found somewhere else? Or is it trickier than I thought? For info, I'm on Prestashop 1.7.1.2. Thank you for your help. Edited November 11, 2020 by Laurent NODOVA (see edit history) Link to comment Share on other sites More sharing options...
Laurent NODOVA Posted November 11, 2020 Author Share Posted November 11, 2020 (edited) All right, found the solution after few days, thanks to the following French topic on the same matter back in 2017: In case this can help others, here is a translation of the fix: This is a bug from the template "shipping.tpl" (located in theme/templates/checkout/_partials/steps/) At the 46th line, the text is <label>{$gift.label}</label> (but this is wrong as it doesn't use the new translation system in the back-office from 1.7 and above). You need to copy past the following line instead: <span>{l s='I would like to receive my order in wrapping gift.' d='Shop.Theme.Checkout'}</span> Then, go back to the back-office and you can find the text translatable. Edited November 11, 2020 by Laurent NODOVA (see edit history) Link to comment Share on other sites More sharing options...
Yurisnel Posted December 28, 2021 Share Posted December 28, 2021 It is not a bug, the translation is in the file \classes\checkout\CheckoutDeliveryStep.php linea 183-187, to translate it from back go to Theme Translations \ Classic in Shop.Theme.Checkout 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