Fix language setting?

This commit is contained in:
Thomas Zarebczan 2019-07-23 23:35:57 -04:00 committed by GitHub
parent f94cef0cee
commit b9ebdc4fb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ import y18n from 'y18n';
import path from 'path';
const i18n = y18n({
directory: path.join(__static, `locales`),
directory: path.join(__dirname, `locales`),
updateFiles: true,
locale: 'en',
});