Plugin Support
Elena
(@elenathemehigh)
Unfortunately, the lite version of our plugin doesn’t have the requested feature.
Further, as per the WordPress forum policy, we can’t answer premium-related questions on this forum. Could you please raise a ticket through our website?
Thank you!
Thread Starter
Aharon
(@aharonach)
I don’t understand. Do you only add new features to the premium version?
Plugin Support
Elena
(@elenathemehigh)
Hi@aharonach
Thank you for your suggestion. What we were trying to say is that this feature (Polylang integration for translating field labels) is not currently available in the free version of our plugin. However, we have taken note of your request and will be considering it for implementation in a future release.
We really appreciate your feedback, it helps us improve the plugin for everyone.
Thanks!
Thread Starter
Aharon
(@aharonach)
Thank you for your answer.
For anyone else looking for a solution, here’s what worked for me:
Add this to your functions.php, and all your translated strings using Polylang will be displayed:
add_filter( 'gettext_woo-extra-product-options', function ( $translated, $text ) {
if ( ! function_exists( 'pll__' ) ) {
return $translated;
}
$pll_translated = pll__( $text );
if ( $pll_translated ) {
$translated = $pll_translated;
}
return $translated;
}, 10, 2 );
Plugin Support
Elena
(@elenathemehigh)
Thank you so much for sharing your solution here. We truly appreciate you taking the time to contribute back to the community. It will definitely help other users looking for Polylang compatibility.
We’ve also noted your request and will keep it in consideration for future updates.
Thank you!