diff --git a/grunt/helpers/data/Language.js b/grunt/helpers/data/Language.js index 2cb10dabe..e52131d3f 100644 --- a/grunt/helpers/data/Language.js +++ b/grunt/helpers/data/Language.js @@ -38,7 +38,7 @@ class Language { /** @type {string} */ this.jsonext = jsonext; /** @type {string} */ - this.path = languagePath.replace(/\\/g, '/'); + this.path = path.normalize(languagePath).replace(/\\/g, '/'); /** @type {string} */ this.name = this.path.split('/').filter(Boolean).pop(); /** @type {string} */