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

Add support for achievement languages #104

Open
Landcross opened this issue Apr 6, 2024 · 0 comments
Open

Add support for achievement languages #104

Landcross opened this issue Apr 6, 2024 · 0 comments

Comments

@Landcross
Copy link
Contributor

When creating an XboxLiveClient, it's possible to add a language. However, this language is not taken into account when retrieving achievement information. Per Microsoft's documentation, the endpoints can take into account the Accept-Language header parameter and it'll try to load the achievements in that language, if possible:

List of desired locales and fallbacks (e.g., fr-FR, fr, en-GB, en-WW, en-US). The Achievements service will work through the list until it finds matching localized strings. If none are found, it attempts to match the location defined in the user token, which comes from the user's IP address. If still no matching localized strings are found, it uses the default strings provided by the title developer/publisher.

It would be nice if support can be added to retrieve achievement info in a specific language.

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

No branches or pull requests

1 participant