The validation translation is not correctly retrieving values from the translation file due to incorrect keys being assigned. #661
Replies: 1 comment
-
please dont cross post. there is already an issue from you |
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
-
I'm working on translating the validation errors in my application, which is configured as follows
main.js
👇🏽 ~ added the pipe and filtersroot.module.ts
👇🏽 ~ module importedtranslation file
request class
Unfortunately, the translation is not functioning as expected. Based on the constraints, the code should use
IsEnum
/IsNotEmpty
as the keys for translation, but instead, it seems to be using the value, resulting in the following error:Translation salesChannel is not empty in en does not exist.
I suspect that the value is being used as the translation key instead of the constraint's key. Has anyone else encountered this issue?"
Beta Was this translation helpful? Give feedback.
All reactions