fixed translation path to display correct error msg

This commit is contained in:
xnacly
2021-08-30 13:44:52 +02:00
parent 1eecd409af
commit 3db1abdb50
+1 -1
View File
@@ -19,7 +19,7 @@ export async function initTranslation(router: Router) {
fallbackLng: "en",
ns,
backend: {
loadPath: __dirname + "/../locales/{{lng}}/{{ns}}.json"
loadPath: __dirname + "/../../locales/{{lng}}/{{ns}}.json"
},
load: "all"
});