jshmrtn / vue3-gettext

Translate Vue 3 applications with gettext.
https://jshmrtn.github.io/vue3-gettext/
MIT License
66 stars 23 forks source link

Possible to add translator comments? #28

Closed simensol closed 1 year ago

simensol commented 1 year ago

Is it possible to add translator comments to $gettext (and the other functions), which appear in the extracted po file?

Knogobert commented 1 year ago

I would use $pgettext to get some sort of context for the string and not have collaboration comments pushed to the code/repository history. I would instead use a service like POEditor to collaborate via comments.

To me this is out of scope for the package. I wish you best of luck!

simensol commented 1 year ago

Actually, I agree. I think I have been a little confused about the purpose of context vs. comments in gettext. Thanks for clearing things up!