You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In one of my translation, there is a missing curly brace: "manage-space-form.default-title-for-slot": "Created by { creatorFirstName }} {{ creatorLastName }}".
So far transloco-validor doesn't check for such mistakes. The only way to find it is by the error logged at runtime :
The error message is quite cryptic and you can't tell at first glance that it is due to an invalid translation message.
Describe the solution you'd like
We would like to assert at build time that our translation files contains messages that will be correctly parsed. One of the checks could search for missing curly braces.
Additional context
@ngneat/transloco-validator@1.0.1
Contribution
I want to make a pull request for this feature:
[ ] Yes! 🚀
[X] Maybe next time
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In one of my translation, there is a missing curly brace:
"manage-space-form.default-title-for-slot": "Created by { creatorFirstName }} {{ creatorLastName }}"
.So far transloco-validor doesn't check for such mistakes. The only way to find it is by the error logged at runtime :
The error message is quite cryptic and you can't tell at first glance that it is due to an invalid translation message.
Describe the solution you'd like
We would like to assert at build time that our translation files contains messages that will be correctly parsed. One of the checks could search for missing curly braces.
Additional context
@ngneat/transloco-validator@1.0.1
Contribution
I want to make a pull request for this feature:
[ ] Yes! 🚀
[X] Maybe next time
The text was updated successfully, but these errors were encountered: