language.feedback - Evaluation-options - Feedback Aide API

Feedback Aide API Evaluation Options

feedback

Specifies the language of the generated feedback.

You would want to use this to return feedback that matches the language of your application, for example.

See Internationalization for Feedback Aide for more information on how to customize the interface elements.

Examples

// Example for evaluate endpoints
{
    "options": {
        "language": {
            "feedback": "fr"
        }
    }
}

// Example using the JavaScript API
const feedbackSession = await feedbackApp.feedbackSession(
    { /* security token */ },
    {
        state: '...',
        session_uuid: '...',
        // ...

        options: {
            language: {
                feedback: "fr"
            }
        },
    }
);

Values

Default "en"

Type string

Possible values

  • "en" - English
  • "en-us" - English with American spelling
  • "en-gb" - English with United Kingdom spelling
  • "fr" - French
  • "es" - Spanish
  • "pt" - Portuguese
  • "it" - Italian
  • "de" - German
  • "zh" - Chinese
  • "id" - Indonesian
  • "jp" - Japanese
  • "kr" - Korean
  • "ar" - Arabic (preview)
  • "fi" - Finnish (preview)
  • "sv" - Swedish (preview)
  • "no" - Norwegian (preview)
  • "da" - Danish (preview)
  • "nl" - Dutch (preview)
  • "pl" - Polish (preview)
  • "pt-br" - Portuguese (Brazil, preview)

The languages are specified as 2-letter ISO 639-1 codes.

Note Languages marked with (preview) are allowed options, but have not been tested and results may vary in quality based on language.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.