GET api/Admin/Translation?lang={lang}&localeID={localeID}

Allow you to get a list of translations for a locale. These translations are tied to only client side translations (not all) for now.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

This would be the locale description such as "en-us" or "es-es" to identify the locale of the desired translations.

string

Default value is en-us

localeID

integer

None.

Body Parameters

None.

Response Information

Resource Description

Dictionary of string [key] and string [value]

Response Formats

application/xml, text/xml

Sample:
<DictionaryOfStringString>
  <KeyValuePairOfStringString>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </KeyValuePairOfStringString>
  <KeyValuePairOfStringString>
    <Key>sample string 3</Key>
    <Value>sample string 4</Value>
  </KeyValuePairOfStringString>
</DictionaryOfStringString>

application/json, text/json

Sample:
{
  "sample string 1": "sample string 2",
  "sample string 3": "sample string 4"
}