Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extraction location as a comment #91

Open
lahdekorpi opened this issue Jan 25, 2018 · 4 comments
Open

Extraction location as a comment #91

lahdekorpi opened this issue Jan 25, 2018 · 4 comments

Comments

@lahdekorpi
Copy link

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.

@picheli20
Copy link

There's already a PR for it #102, but no action on it :(

@hoeni
Copy link

hoeni commented Jul 10, 2019

Maybe offer output as JSON5 to add these comments in JSON, too?

@shavenzov
Copy link

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

@vtolstov
Copy link

vtolstov commented Mar 8, 2020

@shavenzov can you provide pr?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants