Closed BoweFrankema closed 9 years ago
Unfortunately not - the task is a simple wrapper for xgettext
which is completely blind to textdomains (a purely WP-and-related thing).
You may want to try https://github.com/blazersix/grunt-wp-i18n instead - which is a tasks written specifically for WP in mind. I'm not sure if it can isolate textdomains, but if not, it could be made to, whereas that's impossible with this task.
I was wondering if it's possible to scan a folder for strings containing only a specific text domain? I'm asking because my theme also contains other text domains (BuddyPress ones) because I have to overwrite certain BuddyPress templates. When I used Grunt-Pot these strings are picked up again and I'd like to find a way around this.
Any help would be awesome and thanks a lot for this huge time saver :-)