JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

"Updates, discussions, and documentation of the BungieNetPlatform API."

Request Join
originally posted in:BungieNetPlatform
Edited by donatelloth: 5/5/2016 9:32:04 AM
4

Language problem with public advisors

1. When i trying to get public advisors via /Platform/Destiny/Advisors/ I receive information on different languages. I think language is setting randomly. So i can receive information on Espanol, Deutch etc. How can I get information only on English? 2. On this week KF challenge is on Golgoroth. But here /Platform/Destiny/Advisors/ I get Oryx Challenge. What's the problem?

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • Edited by VThornheart: 5/5/2016 8:14:13 PM
    Ah, forgot to post here - yep, I done -blam!-ed up the Raid flags. Turns out checking the wrong activity definitions' skulls doesn't turn out well for getting correct results. This too will be fixed next week - thanks for reporting this! EDIT: Also, if you need a workaround, the skull index we pass in the old version of the Raid advisor is correct: we're simply looking up the wrong Activity Definition's skulls, resulting in the wrong localized text for the skull being returned in the "Generic" advisor. If you use the old Raid Advisor data's skullIndexes and do the lookup yourself against that tier's Activity Definition, you'll get the right data. Don't do what I did and look up the Activity Bundle Hash's related Activity Definition. Whoops.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • Ah, yes, you're totally right. We're experiencing a problem specifically with Public Advisors for the new "generic" content that we put on the contract. Previously the Generic Advisors didn't have any localized data, and when I added it I left our initial non-locale-specific caching strategy in by mistake... so if you're looking at generic advisor data on the Public Advisor contract, currently it will give you whatever arbitrary language happens to be in the cache. Oops! I've fixed the issue, we'll put it through testing and get that out in our next release (this coming wednesday). Until then, if you're using the Public Advisor data, continue using the old fields and don't rely on the "activities" property to get you the correct locale information yet. Sorry about that!

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    4 Replies
    • Is this the app or the website? Because i use the website and have never had this issue unless on the forums and i can change the language if the person who posted it isn't posting in english

      Posting in language:

       

      Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

      2 Replies
      • I've personally never run into this issue, but you could try including Accept-Language in your http-headers. Accept-Language: en-US

        Posting in language:

         

        Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

        2 Replies
        You are not allowed to view this content.
        ;
        preload icon
        preload icon
        preload icon