0
Suppose a rest api returning this json:
{
"status" : "fail",
"data" : { "title" : "A title is required" }
}
Since the client application would always adapt the error message, would it be better to return an explicit i18n key rather than "A title is required"? :
{
"status" : "fail"...