config.questions_api_init_options.labelBundle - Initialization - Items API

Items API Initialization

labelBundle

Specifies overrides for labels and text content shown in all Question types in the assessment.

You would want to specify this option so that you can override the default English labels and it allows you to internationalize the default Question type text content. For example, renaming a button's text or translating all interface text to Japanese.

See Items API Internationalization for more information.

Examples

var initializationOptions = {
    "config": {
        "questions_api_init_options": {
            "labelBundle": {
                "checkAnswer": "Check my solution"
                // ...
            }
        }
    }
};

Values

Attribute path config.questions_api_init_options.labelBundle

Type object

Was this article helpful?

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