Additional touches

This commit is contained in:
Marco Rodolfi
2023-01-23 11:05:07 +01:00
parent f5987c46ba
commit 7baa9badab
4 changed files with 20 additions and 11 deletions
+2 -1
View File
@@ -6,12 +6,13 @@ i18next
.use(initReactI18next)
.use(Backend)
.init({
debug: true,
backend: {
// path where resources get loaded from, or a function
// returning a path:
// function(lngs, namespaces) { return customPath; }
// the returned path will interpolate lng, ns if provided like giving a static path
loadPath: '/locales/{{lng}}/{{ns}}.json',
loadPath: '/home/deck/homebrew/locales/{{lng}}/{{ns}}.json',
// path to post missing resources
// addPath: '/locales/{{lng}}/{{ns}}.missing.json',