PonyExpress Posted January 11, 2019 Report Posted January 11, 2019 I'm not sure about steam-tradeoffer-manager, maybe my problem is related to steam-user.I always received the text of errors (ERR) in English. But after launching a third-party program, now i get them in another language. let client = new SteamUser(), manager = new TradeOfferManager({ "steam": client, "language": "en" }), community = new SteamCommunity(); //... let t = manager.createOffer(SID); t.getUserDetails((ERR, ME, THEM) => { if (ERR) { console.log("cant trade: " + ERR); // <<< not in English } else if (ME.escrowDays == 0 && THEM.escrowDays == 0) { console.log("all good"); } else { console.log("escrowDays"); } }); How can I return the language to English? (Global)And can I get errors in a specific language if need? Quote
Dr. McKay Posted January 11, 2019 Report Posted January 11, 2019 The error language is probably controlled by your Steam account language. Quote
PonyExpress Posted January 12, 2019 Author Report Posted January 12, 2019 Thank you very much. Although it was a bit strange for me to see messages not in English only after a year of use. Quote
Dr. McKay Posted January 12, 2019 Report Posted January 12, 2019 All my modules do send a cookie requesting English text, but I guess it's not always respected. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.