Replies: 1 comment 2 replies
-
@bajtos @AaronJan I found this old issue. That's where this solution was proposed. However, I don't see how to detect the locale here. How can I transform the error message if I don't know the current locale. |
Beta Was this translation helpful? Give feedback.
2 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 know this can be done using i18n-ajv.
So something like:
// application.ts
This is called on every request. However, how do I detect the current locale? The request object doesn't get passed here..
Beta Was this translation helpful? Give feedback.
All reactions