fix: Fixed i18n incorrect paths
This commit is contained in:
parent
6339714b9f
commit
5c9fe14723
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user