Jump to content
McKay Development

Default Language in the Constructor

Recommended Posts

I didnt want to submit an issue, because i dont know if its by design.


By default the language for the steam-tradeoffer-manager is not set


If somebody wants to set it, they need to set it up manually


var SteamTradeOfferManager = require("steam-tradeoffer-manager");

manager =   new SteamTradeOfferManager({"language": "en"})




When the language is not set, some properties of the trade offer are not accurate. 


itemsToGive and itemsToReceive


show the correct appid, contextid, assetid and classid which is important


however marketable, commodity and market restrictions are showing wrong info, all those are false (0).


i understand that setting up language will show different descriptions and names in some regions. and by not setting the language, you dont get extra info, which saves bandwidth, and speeds up things.


So maybe its useful to set the language to "en" by default.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...