Can I somehow make the ajax messages for the client localized?

I don't want JS to format currency to the users locale format and I do not want JS to translate statuses etc.

Is there any way to customize a message before it is sent to the client?

Best regards