galaxy-integration-gw2 icon indicating copy to clipboard operation
galaxy-integration-gw2 copied to clipboard

Add Language Support for Achievments

Open kurim opened this issue 5 years ago • 2 comments

May be you can include the lang Tag in api, based on GOG/OS language and set if not available to en.

Available languages are: en, es, de, fr and zh

For example: https://api.guildwars2.com/v2/achievements/categories/1?lang=de response: "name": "Bezwinger",

https://api.guildwars2.com/v2/achievements/categories/1?lang=fr response: "name": "Pourfendeur",

kurim avatar Oct 31 '19 11:10 kurim

@FriendsOfGalaxy Is it possible to specify language for achievements?

Something like

{
  "releasePerPlatformId":"gw2_guild_wars_2",
  "name": {
      "*": "Drake Slayer",
      "en": "Drake Slayer",
      "de": "Lindwurm-Bezwinger"
   }, 
  "description": {
      "*": "Enough of these massive drakes on Tyria's massive plains.,
      "en": "Enough of these massive drakes on Tyria's massive plains.",
      "de": "Genug von diesen riesigen Lindwürmern auf Tyrias riesigen Ebenen."
   }, 
  "apiKey":"5",
  "imageUrlUnlocked":"http://gw2.friends-of-friends-of-galaxy.org/assets/achievement-earned.png",
  "imageUrlLocked":"http://gw2.friends-of-friends-of-galaxy.org/assets/achievement-unearned.png"
}

Mixaill avatar Oct 31 '19 12:10 Mixaill

No, currently it is not supported. Probably in the future

FriendsOfGalaxy avatar Nov 05 '19 10:11 FriendsOfGalaxy