How to load new strings from new woocommerce functions
-
Hi,
I added a function to my child theme’s functions.php file that contains a string that I would like to be able to translate into other languages, e.g.
$sortby[‘num_reviews’] = __(‘Sort by number of reviews’, ‘woocommerce’ );
I thought that ‘Sort by number of reviews’ would show up in the Woocommerce translations in Loco Translate but it doesn’t.
Or do I need to replace the Woocommerce text domain by my child them text domain?
Could you please let me know what I’m missing?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to load new strings from new woocommerce functions’ is closed to new replies.