Get the Desktop App for Battle.net Now
- All your games in 1 place
- Log in once
- Automatic game updates
Is there any possiblity to obtain the e.g. skill descriptions in a different locale other than english?
Like when i look at a hero on eu and switch from en to es, the skills are updated accordingly.
If not, are there any plans to add this in the future?
Web & Mobile Team
All of the API resources support the "locale" query string parameter.
This is awesome but what are all the available locale options?
Did some searching and found:
but one problem in one list i see "sq_AL" for Albania on the other i see 2 options: "sq_AL" & "sq"
Does Blizzard accept all? Is there any limitations?
Edited by XjSv#1677 on 9/7/2012 11:08 AM PDT
The following locales should be supported, though some may only be enabled for specific regions. You can also just include the language code for all of the languages we support.
In that format? 2 characters?
In the previous post it was posted as "es_MX". So that would be just "es" then?
It's just a matter of preference, for instance, your programming platform may have pre-defined constants for language codes, but not locale tags. One isn't better than the other.
In technical terms, the only difference is that a locale tag represents a dialect of a given language in a specific region. The API either tries to find the best possible match for an unsupported tag or flat out ignores the locale's region, hence both work.
Are you planing on doing some localization through API? I mean, that users can provide help with localization for other languages.
Also what did you mean by that?
Is there some special code for fetching response for all languages you support?
Edited by NetJunky#2214 on 9/8/2012 4:29 AM PDT
No. He is saying you can include the localization code on the request and listed all the languages they support.
Edited by Poutine#1541 on 9/8/2012 4:33 AM PDT
Threats of violence. We take these seriously and will alert the proper authorities.
Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.
Harassing or discriminatory language. This will not be tolerated.