Is there any way to return errors based on user’s regional language in rules? e,g if user is in USA then it returns error message in English but if user is in Sweden then it returns error in Swedish?
So there are actually a few approaches to do that. The one I suggest is simply customizing your Lock error messages using language files that we provide. Here’s more on that:
The other one is as you said rules. You can use the context object properties to achieve that but this one will actually require more work.
Let me know if that helps!