diff --git a/server/src/util/text.js b/server/src/util/text.js index 370d535..ee9ee8a 100644 --- a/server/src/util/text.js +++ b/server/src/util/text.js @@ -3,7 +3,7 @@ import y18n from 'y18n'; import { getLocalFilePath } from './fileutil.js'; const locale = nconf.get('localization:defaultLocale'); const directory = - nconf.get('localization:directory') || getLocalFilePath('./locale'); + nconf.get('localization:directory') || getLocalFilePath('../../locales'); const myy18n = y18n({ updateFiles: false, locale, directory });