-
Notifications
You must be signed in to change notification settings - Fork 16
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
ds-error translations #35
Comments
@hanssen I don't typically use ember-data so I'm not aware of what you're referring to. Can you provide examples? I also don't want to couple ember-i18n-cp-validations to anything ember-data, so if this solution involves that it's best to treat it as a standalone addon. |
@jasonmit I am using following ember-cp-validations validator: The server responds with following message:
The message from So ember-data requires this error format and ember-cp-validations handles it very nicely with the according validator. I am only missing the translation. My idea was to look up the
|
@hanssen sorry for the late response. I would like to land support to address this. Unsure if I'd want to couple it to an |
@jasonmit I referred to the error object docs and the
|
@hanssen I'm on board with that. |
Hello,
when the server sends an i18n-key as response, it would be nice if the according translation would appear with a
ds-error
validation. Currently only the static text is shown. Maybe a flag or separate i18n key in the response would be a good choice, but a lookup of the response text in the translations and fallback to it might be good enough.Is this already possible with the current implementation? Does my issue sound like a useful new feature?
Many thanks in advance,
Sascha
The text was updated successfully, but these errors were encountered: