fixed translation path to display correct error msg
This commit is contained in:
parent
7847f55ef6
commit
382fc62f5a
@ -19,7 +19,7 @@ export async function initTranslation(router: Router) {
|
|||||||
fallbackLng: "en",
|
fallbackLng: "en",
|
||||||
ns,
|
ns,
|
||||||
backend: {
|
backend: {
|
||||||
loadPath: __dirname + "/../locales/{{lng}}/{{ns}}.json"
|
loadPath: __dirname + "/../../locales/{{lng}}/{{ns}}.json"
|
||||||
},
|
},
|
||||||
load: "all"
|
load: "all"
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user