From 1d8251596c1f48639f82633fae9b6cd55386e7dd Mon Sep 17 00:00:00 2001 From: rhahao <26148770+rhahao@users.noreply.github.com> Date: Sat, 4 May 2024 18:38:30 +0300 Subject: [PATCH] fix(locales): update individual json files path --- src/config/i18n-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/i18n-config.js b/src/config/i18n-config.js index 7891c491..735a6d83 100644 --- a/src/config/i18n-config.js +++ b/src/config/i18n-config.js @@ -10,7 +10,7 @@ const resources = {}; for await (const language of LANGUAGE_LIST) { resources[language.code] = {}; resources[language.code].translation = JSON.parse( - await fs.promises.readFile(new URL(`../locales/${language.locale}/main.json`, import.meta.url)) + await fs.promises.readFile(new URL(`../../locales/${language.locale}/main.json`, import.meta.url)) ); }