-
Notifications
You must be signed in to change notification settings - Fork 55
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
How can vue-gettext be used in typescript ? #107
Comments
@ppratibha Same problem here. Have you found a solution for this yet? Edit: I think I found the answer. It is an |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to use vue-gettext in typescript component for a vue project.
I am using it like this
get myText() {
return this.$gettext('myText');
}
This was working perfectly fine for JS file. But As we are migrating to TS , I see that this text is not extracted as a translatable string and it does not end up in PO file of the project. Can someone help me with this ?
The text was updated successfully, but these errors were encountered: