Skip to content

Commit

Permalink
fix: correct path to locale
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed May 24, 2024
1 parent da77a98 commit 96443c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/util/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });

Expand Down

0 comments on commit 96443c2

Please sign in to comment.