Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a method to set your language #4

Merged
merged 1 commit into from
Jan 24, 2017
Merged

Added a method to set your language #4

merged 1 commit into from
Jan 24, 2017

Conversation

vankxr
Copy link
Contributor

@vankxr vankxr commented Dec 21, 2016

setDisplayLanguages(prim_language, [sec_languages], callback)

  • prim_language: a string (Ex: "english", "portuguese")
  • sec_languages: an array of strings (Ex: ["russian", "french"])

This should change the language of everything. Added this because the language on steam-trade-offer-manager and steam-community wasn't being correctly set, making trade offer errors and inventory descriptions to be shown in other languages. Using this method at the start shuold fix all that.

Taken from view-source:https://store.steampowered.com/account/languagepreferences/ @line 427

Copy link

@andrewda andrewda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vankxr
Copy link
Contributor Author

vankxr commented Dec 23, 2016

Is Dr. McKay still carying about this module?

@DoctorMcKay DoctorMcKay merged commit 908b34d into DoctorMcKay:master Jan 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants