diff --git a/config.docker.yml b/config.docker.yml index ca2c3e4c..29bec6a6 100644 --- a/config.docker.yml +++ b/config.docker.yml @@ -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 diff --git a/config.sample.yml b/config.sample.yml index ed34d6af..a432c59d 100644 --- a/config.sample.yml +++ b/config.sample.yml @@ -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 diff --git a/server/index.js b/server/index.js index d7a13945..66860ef5 100644 --- a/server/index.js +++ b/server/index.js @@ -131,7 +131,7 @@ lang preload: ['en', 'fr'], fallbackLng: 'en', backend: { - loadPath: './locales/{{lng}}/{{ns}}.json' + loadPath: path.join(SERVERPATH, 'locales/{{lng}}/{{ns}}.json') } })