WPIntell

Source evidence

Wpml

Sold Out Badge for WooCommerce · support · 2024-03-05T09:14:00+00:00

mixedsentiment
mediumseverity
0.85relevance
8replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

10 / 67 rows with source links

14.9% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

57 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
ilaria12 resolved
Hello, 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

Comments

8 shown
Charlie Etienne 2024-03-05T14:30:00+00:00

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?

ilaria12 2024-03-05T17:00:00+00:00

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

ilaria12 2024-03-05T17:12:00+00:00

This is the topic solved with my same issue

ilaria12 2024-03-05T17:12:00+00:00

Omg I continue to forget to paste the link: https://wordpress.org/support/topic/translate-label-with-wpml/

Charlie Etienne 2024-03-05T18:23:00+00:00

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…

ilaria12 2024-03-05T19:12:00+00:00

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

Charlie Etienne 2024-03-05T22:17:00+00:00

Glad you found the way to fix it!

ilaria12 2024-03-06T08:47:00+00:00

Yea so if someone else ha the same issue, and like me is not a developer this is a solution