Why Does My xAPI Say “und”?
Because you didn't set the language of your xAPI package when you published your courseware in your authoring tool.
What is a Language Map?
When an LRS gets a text string, like an
object.definition.name
, or
object.definition.description
, the xAPI statement must include a
language map for the string.
"object": {
"id": "https://www.coursera.org/specializations/python/3"
"definition": {
"name": {"en-US": "Using Python to Access Web Data"}
"description": {"en-US": "Using Python to Access Web Data"}
"type": "http://adlnet.gov/expapi/activities/lesson"}}
If you authored a course with content in Chinese and set the language to "zh"
, then LRS users can translate the string quicker knowing which dictionary to use.
Some authoring tools insert "und"
(“undetermined”), by default. To fix this, you must set the language of your xAPI package when you publish.
How to Set the Language in an xAPI Package
In Articulate Storyline, you would…
- In the menu bar, select File > Publish.
- In the Publish dialog box, select the LMS/LRS tab on the left side.
- In the Publish to LMS/LRS panel, click the Reporting and Tracking button.
- In the Reporting and Tracking Options dialog box, select the LMS tab on the left side.
- In the Learning Management System (LMS) Settings dialog box, in the LMS Course Information section, enter a Language Code. We typically enter en-US.
- Click the OK button.
- In the Publish dialog box, adjust any other settings, and click the Publish button.
Other authoring tools may have other ways of setting the language of the package. You're LMS may offer an override too.
Related Articles
How Do I Add Custom xAPI to Storyline?
While Articulate Storyline supports a handful of xAPI actions out-of-the-box, you may want more. In response, Articulate added an option to create a trigger that sends a custom xAPI statement. If you need help working with triggers, then the ...
What xAPI does Articulate Track?
We're often asked questions like: “What xAPI properties does my authoring tool send to the LRS?” “What metrics can I track with my authoring tool?" Recently, we've gotten a few more questions about Articulate, specifically. Articulate has two ...
What are xAPI Extensions and How Do I Use Them in My xAPI Statements?
Best Practices for xAPI Extensions Activity, Context, and Result Extensions in xAPI Statements Do you need to know when and how to best use Activity, Context or Result Extensions in your xAPI Statements? This is a common challenge and a frequently ...
Will LRS Reporting Work with a SCORM Package?
No. Although an authoring tool may offer the option to enable “Report to an external LRS” for packages other than xAPI and cmi5, those other SCORM or AICC packages do not send xAPI statements to an LRS. The courseware player in each package matches ...
Will Students See Errors in an xAPI Course with No LRS?
If you develop an xAPI course package and don't yet have an LRS, or the LRS is down, then the student should not see any error messages. It will depend on the authoring tool you use. To be sure, you should test it. We've gotten more questions about ...