Conversation
supportHello, I just installed tis plugin, even if is not updated, I like it because is simple. So it works perfectly in english, but I cant’ find the string to translate on wpml. I found a topic here, but is closed and also there are different codes and instructions. In simple words, what I have to do and which code I have to use and where? Thank you for support, Ilaria The page I need help with: [ log in to see the link]
Hi, I don’t use WPML myself, so it’s hard to know what the problem is. I thought my plugin was compatible since 4.2.0 but maybe not… Does WPML have a way to scan plugins for translatable strings?
Hi, yes I scanned the plugin with wmpl, but nothing appeared. I saw that in this topic, that issue was solved, but there are various options and codes, and I don’t know which solution I have to use
This is the topic solved with my same issue
Omg I continue to forget to paste the link: https://wordpress.org/support/topic/translate-label-with-wpml/
Maybe try to add it in your functions.php : add_filter( 'wcsob_soldout', function($content, $post, $product){ return '<span class="wcsob_soldout">' . __('Sold out','sold-out-badge-for-woocommerce') . '</span>'; }); I hope WPML will get it…
I found the solution given by wpml. I enabled temporarily the automatic registration strings, went in the page with the string to translate, refreshed the page, and found the string to translate on wpml. Then deactivated that option because it uses a lot of resources from the server. You can find the video that explains that here: https://www.youtube.com/watch?v=2LZuS346jt8&t=1s
Glad you found the way to fix it!
Yea so if someone else ha the same issue, and like me is not a developer this is a solution
Hi, I don’t use WPML myself, so it’s hard to know what the problem is. I thought my plugin was compatible since 4.2.0 but maybe not… Does WPML have a way to scan plugins for translatable strings?
Hi, yes I scanned the plugin with wmpl, but nothing appeared. I saw that in this topic, that issue was solved, but there are various options and codes, and I don’t know which solution I have to use
This is the topic solved with my same issue
Omg I continue to forget to paste the link: https://wordpress.org/support/topic/translate-label-with-wpml/
Maybe try to add it in your functions.php : add_filter( 'wcsob_soldout', function($content, $post, $product){ return '<span class="wcsob_soldout">' . __('Sold out','sold-out-badge-for-woocommerce') . '</span>'; }); I hope WPML will get it…
I found the solution given by wpml. I enabled temporarily the automatic registration strings, went in the page with the string to translate, refreshed the page, and found the string to translate on wpml. Then deactivated that option because it uses a lot of resources from the server. You can find the video that explains that here: https://www.youtube.com/watch?v=2LZuS346jt8&t=1s
Glad you found the way to fix it!
Yea so if someone else ha the same issue, and like me is not a developer this is a solution