An object (associative array) containing one or more language modules to load. The name
of each item in array is the name of the language module (e.g., "en-GB") and the value is the URL
from which the JavaScript file containing the language module can be downloaded.
JavaScript API: Direct
Assembly: api.js Version: 1.0.0.0 (1.0.0.0)
Syntax
JavaScript
var LanguageModule
Field Value
Type: objectRemarks
When using the Direct JavaScript API, you have the choice of loading language modules either using this property, or on your own (inline in script blocks or by loading them from external scripts). When using the Embedded JavaScript API (with Cloud Services), language modules must be loaded using this property.
To learn more about interview locales and how to add support for locales other than US English, see Browser Language Module.
Examples
JavaScript
var HDInterviewOptions = { Locale: "en-US-mycompany", LanguageModule: { "en-US-mycompany": "http://mycompany.com/hdrelated/hdlang-customized.js" } };
JavaScript
var HDInterviewOptions = { Locale: "de-CH-mycompany", LanguageModule: { "de": "http://url/to/hdlang-de.js", "de-CH": "http://url/to/hdlang-des.js", "de-CH-mycompany": "http://url/to/hdlang-des-mycompany.js" } };
See Also