Ecommerce Shopify WordPress Discussion

Translate comments count on Articles page

I set up a new website for the company I work for. However, I am unable to translate the "Comments Off" on this page https://coxidev.com/2024/02/08/dynamics-365-ventes-copilot-nouveautes/ and that should appear on every blog post page. I tried adding a filter on functions.php eg function wpsp_translate_text( $text, $domain ) { if ( 'Leave a comment' === $text && 'wp-show-posts' == $domain ) { return 'Your translation for Leave a comment'; } if ( '1 Comment' === $text && 'wp-show-posts' == $domain ) { return 'your translation for 1 Comment'; } if ( '% Comments' === $text && 'wp-show-posts' == $domain ) { return '%s commentaires'; } if ( 'Comments Off' === $text && 'wp-show-posts' == $domain ) { return '0 commentaires'; } return $text; } add_filter( 'gettext', 'wpsp_translate_text', 10, 2 ); I also tried finding the translation with Loco TRanslate, which gave no result (The wordpress part of Loco Translate is 100% translated in French). What am I missing please ? Thanks
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.