This topic has 6 replies, 2 voices, and was last updated 3 years, 4 months ago ago by Olga Barlow
Hello,
I use LocoTranslate to translate all of my site. However, recently some of the text in the royal/woocommerce/checkout/thankyou.php have reverted to English and refuse to be translated even though I have set the translations in LocoTranslate correctly.
I have contacted WooCommerce support, checked the LocoTranslate support, and discussed with my hosting service, and the most likely suspect right now is a theme conflict where a theme file overrides the default WooCommerce file. You updated my site’s WooCommerce templates in May and perhaps this confilct started then(?)
Please note that I could translate the strings before, so this is a recent issue.
The strings that refuse to be displayed as translated are:
“Thank you. Your order has been received.”
“Date:”
“Total:”
“Payment method:”
Hello,
Did you translate the Royal theme in Loco Translate > Themes > Royal?
Provide us with WP Dashboard access to check.
Regards
Hello,
Yes, I have translated the Royal theme in Loco Translate but those unstranslated strings are not found there by Loco Translate.
Our hosting provider checked and confirmed that the orders’ source code references both wp-content/plugins/woocommerce/templates/checkout/thankyou.php and wp-content/themes/royal/woocommerce/checkout/thankyou.php
Only the strings that come from the WooCommerce thankyou.php are translated. Because the untranslatable strings come from Royal thankyou.php it doesn’t translate them. Loco Translate seems to prefer the WooCommerce version.
So how can we make the orders refer to only one thankyou.php instead of two? And if we use the theme’s template, how can we point it to Loco Translate? Our hosting provider said that using WooCommerce’s template would be better for updates (and Loco already uses that as its source).
See private content area for dashboard access.
Hello,
Thank file was removed in one of the latest updates. Probably you updated the theme manually and it was not removed. Check the thank you page now.
Regards
Hello,
Yes, I had updated the theme manually a couple of months ago. Now the translations work normally, thank you very much!
edit: The Confirmation button for closing the topic doesn’t work, so you may close this topic. (I’m on Chrome)
Hello,
You are welcome.
Regards
The issue related to '‘Can Not Translate thankyou.php Completely’' has been successfully resolved, and the topic is now closed for further responses