Commit 5c9fe147 authored by NGPixel's avatar NGPixel

fix: Fixed i18n incorrect paths

parent 6339714b
......@@ -2,7 +2,7 @@
# Wiki.js - CONFIGURATION #
#######################################################################
# Full explanation + examples in the documentation:
# https://wiki.requarks.io/install
# https://docs.requarks.io/wiki/install
# ---------------------------------------------------------------------
# Title of this site
......@@ -43,7 +43,7 @@ uploads:
# ---------------------------------------------------------------------
# Site Language
# ---------------------------------------------------------------------
# Possible values: en, fr
# Possible values: en, de, es, fr, ko, pt or ru
lang: en
......
......@@ -2,7 +2,7 @@
# Wiki.js - CONFIGURATION #
#######################################################################
# Full explanation + examples in the documentation:
# https://wiki.requarks.io/install
# https://docs.requarks.io/wiki/install
# ---------------------------------------------------------------------
# Title of this site
......@@ -43,7 +43,7 @@ uploads:
# ---------------------------------------------------------------------
# Site Language
# ---------------------------------------------------------------------
# Possible values: en, fr
# Possible values: en, de, es, fr, ko, pt or ru
lang: en
......
......@@ -131,7 +131,7 @@ lang
preload: ['en', 'fr'],
fallbackLng: 'en',
backend: {
loadPath: './locales/{{lng}}/{{ns}}.json'
loadPath: path.join(SERVERPATH, 'locales/{{lng}}/{{ns}}.json')
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment