node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

errortoenglish-despegar

errortoenglish

Translate IE JavaScript error messages to english

npm install errortoenglish

Build Status

NPM version

Dependency Status

usage

errorToEnglish = require("errortoenglish");
errorToEnglish("オーバーフローしました。", function(err, translation){
   translation === "Overflow";
}

I use this in Muscula, to translate errors logged.