Open kurim opened 4 years ago
@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"
}
No, currently it is not supported. Probably in the future
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",