This topic has 6 replies, 2 voices, and was last updated 9 years, 7 months ago ago by Eva Kemp
Hi, I have a few pieces of text that I need to translate but I cannot find where to do this, it’s not in the po file. Could you please have a look at this pdf where I show you the text:
https://www.dropbox.com/s/na6al5qjxstdco7/translation-issues.pdf?dl=0
I’ll explain what you see in the pdf:
1. The text that shows on the My account page. The translation is very strange grammatically so I need to change this, but I cannot find were to do this.
2. Search result when no products are found. I need to translate “No products were found”.
3. When clicking on the share by email link (on product page and on the wish list page), an email pops up. I need to translate the text marked in the pdf.
Appreciate your help with this!
Hello,
1. That text can be translated in the .po file in wp-content/plugins/woocommerce/i18n/languages directory.
2. “No products were found” can be translated in the file wp-content/themes/royal/woocommerce/loop/no-products-found.php.
3. Translate the text in the file wp-content/themes/royal/framework/shortcodes.php (line 1761) and edit the code body=Check%20this%20out:%20'.$permalink.'"
, change this text Check%20this%20out
and this code mailto:enteryour@addresshere.com
, change enteryour@addresshere.com
.
Keep these files safe not lose changes after theme update.
Thank you.
Regards,
Eva Kemp.
Thanks, no 1 and 2 are solved.
No 3. Your instructions solved it for one of 3 places (see pdf; 2 on the product page and 1 on the wishlist page). Remaining is the one to the right of “Add to wishlist” on the product page, and the one on the wishlist page. Could you tell me where I can change these?
Hello,
Could you please show screenshots in better resolution what elements still need to be translated?
Thank you.
Regards,
Eva Kemp.
Hi, have a look at this:
https://www.dropbox.com/s/u8h8vhd78u0bnfv/translation.pdf?dl=0
1. The first page shows the email that pops up after clicking on the “share by email” on the product page.
2. The 2nd page shows the email that pops up after clicking on the email on the wishlist page.
Hello,
The email text on Wishlist page can be translated in Wishlist plugin file wp-content/plugins/yith-woocommerce-wishlist/class.yith-wcwl-ui.php (line 161).
Thank you.
Regards,
Eva Kemp.
Tagged: issues, templates, translation, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up