I have created a WordPress theme that I wish to translate.
Inside my theme I use some translations from woocommerce
(i.e. <?php _('Your cart', 'woocommerce'); ?>
).
Theese woocommerce strings, I do not wish to translate again, naturally, as they are already translated. But when I use poedit to scan my theme, of course it will find ALL text domains.
So my question is:
How can I tell POEdit to only pick up only strings in a specific text domain?
__('Something', 'my-text-domain')
_e('Something else', 'my-text-domain')
I have found this answer:
However it does not seem to work for me. I have added ri:1,3c
to the list as described, but it doesn't change anything, and I have no other clue as to what to do with it.
See how I did it:
ri:1,3c
is not some magic invocation, it’s for that specific use of a function namedri
. – Bon