Translations API Parameters

Request parameters | Language response parameters | Translation response parameters

Translations API query string parameters

ParameterDescriptionDefault value
api Hostname to be used only in production: api.accuweather.com N/A Required
apidev Hostname to be used only in development: apidev.accuweather.com N/A Required
apikey Unique code used to access the API N/A Required
version Version of the API v1 Required
groupID Id of the particular group that translations are provided for N/A Required
format Format of the response JSON Optional
language Culture code (string) or Unique ID (int) indicating the language in which to return the resource en-us Optional

Top of page

Language response parameters

ParameterDescription
DisplayName Display Name (English) of the language
ID Unique ID for the language
ISO The culture code for the language
LanguageType The unique ID for the language type
LocalizedName The translated name of the language
MicroSoftCode The Microsoft culture code for the language
MicroSoftName The Microsoft display name of the language
Name The internal name of the language

Top of page

Translation response parameters

Available translation groups

ParameterDescription
ID A unique ID (integer) for the translation group.
Name The translation group name.

Translations for a specific group

ParameterDescription
LanguageCode The culture code for the language to which the phrase is translated.
PhraseCode The word or phrase (without spaces) to use as a key for joining the translations.
Text The translated word or phrase.
DataCode The key to use for translation.

Top of page