ngx-translate-extract
ngx-translate-extract copied to clipboard
Extraction location as a comment
Feature request
Adding the ability to insert a comment (at least in the .pot
) containing the original source code file name and line the translation was extracted from.
There's already a PR for it https://github.com/biesbjerg/ngx-translate-extract/pull/102, but no action on it :(
Maybe offer output as JSON5 to add these comments in JSON, too?
You can use forked version with added context and comment support. This version adds file path to the item in .po file also.
https://www.npmjs.com/package/@shavenzov/ngx-translate-extract
@shavenzov can you provide pr?