Skip to content

Add support for achievement languages #104

@Landcross

Description

@Landcross

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions