Hi, I see that there is a LocalizedStrings class that delivers messages for authentication problems (e.g Invalid Username or password, Account is locked etc).
Is there any way of overriding this or providing runtime localized versions of these?
G
Hi, I see that there is a LocalizedStrings class that delivers messages for authentication problems (e.g Invalid Username or password, Account is locked etc).
Is there any way of overriding this or providing runtime localized versions of these?
G
Most ErrorMessages are overridable from the ErrorMessages static class. Some of them are localizable by overriding ResolveLocalizedString()
in your AppHost and checking for the string ErrorMessages text.
I’ve made more error messages call ResolveLocalizedString()
when the IRequest
is available from this commit.
This change is available from v5.0.3 that’s now available on MyGet.