use hyphens in named interpolation in json file #1715
Unanswered
acastillo9
asked this question in
Q&A
Replies: 1 comment
-
I don't think so, since variable names in Javascript cannot include hyphens, but I'm not sure. Is it possible that you use camel case |
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
-
there is some workaround to use hyphens in named interpolation, for instance the key max-consecutive-length?
example:
{ "CONTINUOUS_DUPLICATE_CHARACTERS": "Exceeding {max-consecutive-length} identical characters in a row is not allowed" }
Beta Was this translation helpful? Give feedback.
All reactions