babel-gettext-extractor icon indicating copy to clipboard operation
babel-gettext-extractor copied to clipboard

Extract from non-js files

Open ArmorDarks opened this issue 8 years ago • 0 comments

I wonder, can this library be adopted to extract gettext from non-js files, like Nunjucks templates?

In Nunjucks gettext functions have same signature, like {{ gettext('My text') }}.

Or it relies on parsing of exactly JS?

ArmorDarks avatar Feb 21 '17 21:02 ArmorDarks