In RFC 7807 all errors get an unique URI. Message texts might change or be translated into a language you don’t understand.
Users, upon hitting an error, often go check Stack Overflow. If you localize your error messages, you Balkanize the collective wisdom on how to address the error (which will always be larger than your team's ability to troubleshoot errors and offer correctives in your documentation and FAQs).
A good way to take advantage of that is to have a central database of all error types, but not many companies bother to do that.
do you have any example?