diff --git a/packages/common/jsonld.js b/packages/common/jsonld.js index 95cd28d70b3c8421d3421e1e5437d6cd7ccc51a4..6ce7750d246933f8b4bd6fa40dd8738d34a0cfeb 100644 --- a/packages/common/jsonld.js +++ b/packages/common/jsonld.js @@ -70,7 +70,7 @@ export default class JSONLD { static _doInitialization(apiUrl) { const xhr = new XMLHttpRequest(); - const i18n = JSON._i18n; + const i18n = JSONLD._i18n; xhr.open("GET", apiUrl, true); xhr.onreadystatechange = function () { @@ -169,7 +169,7 @@ export default class JSONLD { * @param message */ static _executeFailureFunctions(apiUrl, message = "") { - const i18n = JSON._i18n; + const i18n = JSONLD._i18n; if (JSONLD.failureFunctions[apiUrl] !== undefined) { for (const fnc of JSONLD.failureFunctions[apiUrl]) { if (typeof fnc == 'function') {