π Language Format
The Questback Public API uses language codes in the format:
"ll-CC"
Where:
ll
β Two-letter language code (ISO 639-1)CC
β Two-letter country/region code (ISO 3166-1 alpha-2)
This format aligns with the BCP 47 standard, also known as the IETF language tag, ensuring consistent localization across requests.
Language Format ExamplesCopied!
Language | Region | Code |
---|---|---|
English (United States) | US | en-US |
English (United Kingdom) | GB | en-GB |
Norwegian (BokmΓ₯l) | Norway | no-NB |
Norwegian (Nynorsk) | Norway | no-NN |
German | Germany | de-DE |
French | France | fr-FR |
Usage in API RequestsCopied!
Example Request:
{
"languageCode": "no-NB"
}
Example Response:
{
"defaultLanguageCode": "en-GB"
}
π NotesCopied!
- The provided language code must match a translation available on the quest.
- If a translation is not available, the questβs default language is used.
- An incorrect or unsupported code will result in a 400 Bad Request error.
- For full specifications, see the official BCP 47 documentation.