Cannot translate Add to compare button
-
Hello.
I can’t find this string in WPML String translation and I scanned the theme before searching.
Woodmart version 8.1.2
in code I can only find esc_html__( ‘Add to compare button’, ‘woodmart’ ) but I need Add to compare without “button”
Attachments:
You must be
logged in to view attached files.
Hi kirill7117,
Thanks for reaching to us.
+ In order to change / translate words. Please make sure you synced the strings first before changing / translating WooCommerce, WordPress Cores file, WoodMart Core plugins and WoodMart theme. You can refer to article
https://xtemos.com/docs-topic/theme-translation/
https://xtemos.com/docs-topic/how-to-make-woodmart-multilingual-with-wpml/
+ You are also need to select the language for the backend and theme settings for admin from the admin user profile, please edit the user’s profile and then select the language for that user it will show the same on the backend.
+ Some strings related to Wishlist / Compare / Login & Register page, you can change in Theme Settings > Shop or Theme Settings > My account https://prnt.sc/W8Tt95stG3YC
Regards,
Hi Hung Pham.
I synced the strings as I said.
There are no strings in Theme settings for this button.
I don’t understand how user language is related in this case.
Add to wishlist is translated normally while Add to compare not, please check your theme code.
Ok, I understood.
Because in new WPML interface inactive themes are hidden and I use Woodmart child , I had to filter through inactive themes and select parent Woodmart theme to scan the strings. Now it is found.
The issue is solved
Hi kirill7117,
Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!
If you have a quick minute we always appreciate a 5-star rating on our theme!
https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492
Your feedback is the motivation to improve our work and services.
Regards,
The topic ‘Cannot translate Add to compare button’ is closed to new replies.