Initialization Option Reports API

label_bundle

An object containing custom labels to be used in the reports.

You would want to specify this option so that you can override the default English labels and allows you to internationalize the reports interface. For example, translating the words for "activity" and "attempted" into French.

See Reports API Internationalization for brief instructions on how to set a label bundle.

See Translating the Learnosity user interface with label bundles for more information if you are translating the Learnosity interface into another language.

Examples

// Changing two interface words to French
var initializationOptions = {
    "label_bundle": {
        "activity": "Activité",
        "attempted": "Tenté",
        // ...
    }
    // ...
};

Values

Request object key label_bundle

Type object

The following object properties can be configured.

  • name string

    Default: "Name"

  • a_problem_occured string

    Default: "A problem occurred. Please try again later. If the problem persists contact your administrator."

  • activity string

    Default: "Activity"

  • attempted string

    Default: "Attempted"

  • not_attempted string

    Default: "Unattempted"

  • not_marked string

    Default: "Not marked"

  • partial string

    Default: "Partially correct"

  • correct string

    Default: "Correct"

  • incorrect string

    Default: "Incorrect"

  • incomplete string

    Default: "Incomplete"

  • seen string

    Default: "Seen"

  • date string

    Default: "Date"

  • items string

    Default: "Items"

  • total_n_of_items string

    Default: "Total # of items"

  • last_item_n string

    Default: "Current Item #"

  • n_of_items_correct string

    Default: "# of items correct"

  • n_of_items_incorrect string

    Default: "# of items incorrect"

  • n_of_items_skipped string

    Default: "# of items skipped"

  • n_of_items_not_marked string

    Default: "# of items not marked"

  • of_items_have_been_seen string

    Default: "of items have been seen"

  • of_items_were_answered_correctly string

    Default: "of items were answered correctly"

  • of_items_were_attempted string

    Default: "of items were attempted"

  • of_score_was_answered_correctly string

    Default: "of the total score was answered correctly"

  • of_questions_have_been_seen string

    Default: "of questions have been seen"

  • total_n_of_questions string

    Default: "Total # of questions"

  • n_of_questions_correct string

    Default: "# of questions correct"

  • n_of_questions_incorrect string

    Default: "# of questions incorrect"

  • n_of_questions_skipped string

    Default: "# of questions skipped"

  • n_of_questions_not_marked string

    Default: "# of questions not marked"

  • of_questions_were_answered_correctly string

    Default: "of questions were answered correctly"

  • of_questions_were_attempted string

    Default: "of questions were attempted"

  • time_spent string

    Default: "Time spent"

  • total_time_spent string

    Default: "Total time spent"

  • total string

    Default: "Total"

  • progress string

    Default: "Progress"

  • question string

    Default: "Question"

  • item string

    Default: "Item"

  • score string

    Default: "Score"

  • items_correct string

    Default: "Items Correct"

  • user string

    Default: "Student"

  • users string

    Default: "Students"

  • paused string

    Default: "Paused"

  • completed string

    Default: "Completed"

  • in_progress string

    Default: "In progress"

  • not_started string

    Default: "Not started"

  • saved string

    Default: "Saved"

  • suspended string

    Default: "Suspended"

  • discarded string

    Default: "Discarded"

  • msg_no_data string

    Default: "There is no data for this report."

  • status string

    Default: "Status"

  • active string

    Default: "Active"

  • focuse string

    Default: "Active"

  • unfocused string

    Default: "Away"

  • pause string

    Default: "Pause"

  • pause_confirmation string

    Default: "This action saves answers for the following student(s), but won't let the student(s) continue until you resume the test. Are you sure you want to do this?"

  • unpause string

    Default: "Unpause"

  • unpause_confirmation string

    Default: "This action lets the following student(s) continue the test. Are you sure you want to do this?"

  • extend_time string

    Default: "Extend Time"

  • extend_time_confirmation string

    Default: "This action extends the time left for the following student(s). Are you sure you want to do this?"

  • save_quit string

    Default: "Exit & Save"

  • save_quit_confirmation string

    Default: "This action saves answers for the following student(s) and closes the test. Are you sure you want to do this?"

  • exit_discard string

    Default: "Exit & Discard"

  • exit_discard_confirmation string

    Default: "This action discards answers for the following student(s) and exits the test. Are you sure you want to do this?"

  • confirm string

    Default: "Confirm"

  • continue string

    Default: "Continue"

  • confirmation_heading_action string

    Default: "Confirm Action"

  • cancel string

    Default: "Cancel"

  • group_name string

    Default: "Group Name"

  • group_count string

    Default: "Group Count"

  • lowest_score string

    Default: "Lowest Score"

  • highest_score string

    Default: "Highest Score"

  • mean_seen_activities string

    Default: "Average Seen"

  • mean_attempted_percent string

    Default: "Average Attempted (%)"

  • mean_score string

    Default: "Average Score"

  • median_score string

    Default: "Median Score"

  • stddev_score string

    Default: "Standard Deviation"

  • lowest_percent string

    Default: "Lowest Score (%)"

  • highest_percent string

    Default: "Highest Score (%)"

  • mean_percent string

    Default: "Average Score (%)"

  • median_percent string

    Default: "Median Score (%)"

  • stddev_percent string

    Default: "Standard Deviation (%)"

  • population string

    Default: "Population"

  • hour string

    Default: "hour(s)"

  • minute string

    Default: "minute(s)"

  • second string

    Default: "second(s)"

  • hr string

    Default: "hr(s)"

  • min string

    Default: "min(s)"

  • sec string

    Default: "sec(s)"

Was this article helpful?