fix: Fixed i18n incorrect paths

This commit is contained in:
NGPixel 2017-04-29 16:33:48 -04:00
parent 6339714b9f
commit 5c9fe14723
3 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# Wiki.js - CONFIGURATION # # Wiki.js - CONFIGURATION #
####################################################################### #######################################################################
# Full explanation + examples in the documentation: # Full explanation + examples in the documentation:
# https://wiki.requarks.io/install # https://docs.requarks.io/wiki/install
# --------------------------------------------------------------------- # ---------------------------------------------------------------------
# Title of this site # Title of this site
@ -43,7 +43,7 @@ uploads:
# --------------------------------------------------------------------- # ---------------------------------------------------------------------
# Site Language # Site Language
# --------------------------------------------------------------------- # ---------------------------------------------------------------------
# Possible values: en, fr # Possible values: en, de, es, fr, ko, pt or ru
lang: en lang: en

View File

@ -2,7 +2,7 @@
# Wiki.js - CONFIGURATION # # Wiki.js - CONFIGURATION #
####################################################################### #######################################################################
# Full explanation + examples in the documentation: # Full explanation + examples in the documentation:
# https://wiki.requarks.io/install # https://docs.requarks.io/wiki/install
# --------------------------------------------------------------------- # ---------------------------------------------------------------------
# Title of this site # Title of this site
@ -43,7 +43,7 @@ uploads:
# --------------------------------------------------------------------- # ---------------------------------------------------------------------
# Site Language # Site Language
# --------------------------------------------------------------------- # ---------------------------------------------------------------------
# Possible values: en, fr # Possible values: en, de, es, fr, ko, pt or ru
lang: en lang: en

View File

@ -131,7 +131,7 @@ lang
preload: ['en', 'fr'], preload: ['en', 'fr'],
fallbackLng: 'en', fallbackLng: 'en',
backend: { backend: {
loadPath: './locales/{{lng}}/{{ns}}.json' loadPath: path.join(SERVERPATH, 'locales/{{lng}}/{{ns}}.json')
} }
}) })