fix: Fixed i18n incorrect paths

pull/89/head
NGPixel 8 years ago
parent 6339714b9f
commit 5c9fe14723

@ -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')
}
})

Loading…
Cancel
Save