diff --git a/src/services/i18nService.js b/src/services/i18nService.js index 3079c6e120..a4fb29745b 100644 --- a/src/services/i18nService.js +++ b/src/services/i18nService.js @@ -1,7 +1,8 @@ export default function i18nService(utilsService) { + this.__edgeMessages = {}; + const self = this; + if (utilsService.isEdge()) { - this.__edgeMessages = {}; - const self = this; fetch('../_locales/en/messages.json').then((file) => { return file.json(); }).then((locales) => {