Replies: 2 comments
-
and in the JSON file: "errors.required": "the length should be more than {{errors.requiredLength}} characters" |
Beta Was this translation helpful? Give feedback.
0 replies
-
thanks for your quick reponse ! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm submitting a...
[ x ] Support request
I can see a short chapter to explain how to connect @ngneat/transloco for basic error message here :
https://github.com/ngneat/error-tailor#i18n-example
But with this code one only gets plain string. not interpolated string like
the length should be more than ${errors.requiredLength} characters
Do you have something in transloco or error-tailor providing an answer to this problem ?
ie there a feature to get interpolated string out of json string (with backquotes) with those extensions ?
Something like what is described in :
https://stackoverflow.com/questions/29182244/convert-a-string-to-a-template-string
Beta Was this translation helpful? Give feedback.
All reactions