JavaScript is required to use Bungie.net

Help

Help us help you.
originally posted in:BungieNetPlatform
11/30/2014 4:25:35 PM
1

Endpoint definitions languages

Hi everybody, I've been following this group closely for a few weeks now, trying to improve my little Destiny stats website, and I hit a wall when people asked me when the french version was due. I tried to look into each endpoint, and I tried to add url parameters like we do for definitions, but nothing seems to work. In the manifest endpoint, we can see all the available languages, how can I apply this to definitions I'm getting on other endpoints? Thank you very much for your time.

Posting in language:

 

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

View Entire Topic
  • Hi BinarMorker, I haven't personally tried these yet, but from what I've figured you can use this endpoint to get the available locales: http://www.bungie.net/platform//GetAvailableLocales/ Then, most (if not all) endpoints will let you use the 'lc' URL parameter to specify the locale you want. For example, this request would grab the character data (with definitions) in English for your Titan: http://www.bungie.net/platform/Destiny/2/Account/4611686018434621158/Character/2305843009219088994/?definitions=true&lc=en To get the French version, just change the 'lc' value to 'fr': http://www.bungie.net/platform/Destiny/2/Account/4611686018434621158/Character/2305843009219088994/?definitions=true&lc=fr Hope I helped :) Thanks, Vivek

    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