This topic has 12 replies, 3 voices, and was last updated 9 years, 7 months ago ago by Eva Kemp
Hi,
1) I would like to know how to translate “Add to Wishlist” on Homepage (the product slider)
2) Also, how to translate “Returns & Delivery” on single product page
For 1, I have done the PO file translation for the theme & yith-wishlist plugin, and they still don’t work.
For 2, in the WordPress admin platform -> “Theme Options” -> “Single Product Page”, there is only one place to fill “Returns & Delivery” for the default language. Where can I fill in other languages?
Thank you!
Hello,
1) Please find this string in \themes\royal\framework\woo.php file on line 807.
2) You can translate in WooCommerce->Products->select product->edit->custom fields.
Regards,
Robert Hall.
Hi Robert,
Thanks for your prompt reply.
For 1), line 807 doesn’t work, as for line 803, it actually return the YITH short code. It seems line 807 doesn’t run at all as I try to change to phase in line 807, the original word appears. (Please correct me if I was wrong)
For 2), the original “returns & delivery” is to be shown for every product. Your suggested solution will require administrator to fill in the details for every product. Is there any way to fill in the translation only once, and then to be shown for every product?
Hello,
1. You can translate “Add to Wishlist” text in wp-admin panel > YIT Plugins > Wishlist > “”Add to Wishlist” text” field.
2. Translate “Returns and Delivery” in WPML > String Translation, search for the needed text and you’ll be able to translate it to different languages.
Regards,
Eva Kemp.
Hi Eva,
Thank you!
For 1), if I translate the text at there (i.e. wp-admin panel > YIT Plugins > Wishlist > “Add to Wishlist” text field), then the translated text will be appeared in all languages version. This is not what I want.
What I want is when users select their own language (e.g. English), then the text will be appeared in English. Or if user select Spanish, then the text will be shown in Spanish.
For 2), it works! thanks a lot!
Hello,
Please provide us with correct wp-admin credentials.
Regards,
Robert Hall.
Please find the admin account in private message, please.
Hello,
As I see “Add to Wishlist” text isn’t fully translated in WPML > String Translation. Please check it attentively.
Regards,
Eva Kemp.
Hi,
Many thanks. It works now!
Is that you have imported the po file to the WPML string translation page?
Hello,
You’re welcome.
I edited WPML > Theme and plugins localization and selected “Translate by WPML”, then I added theme strings to WPML String Translation:
http://storage1.static.itmages.com/i/15/0505/h_1430834407_9720283_e81b65c54f.png .
Regards,
Eva Kemp.
Great! Many thanks for your help!
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Translate "Add to WishList" and "Returns & Delivery"’' has been successfully resolved, and the topic is now closed for further responses