Merge pull request #2657 from lbryio/fix-languages-take-2

Fix language setting
This commit is contained in:
Sean Yesmunt 2019-07-24 03:22:13 -04:00 committed by GitHub
commit 98542e10b9
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'; import path from 'path';
const i18n = y18n({ const i18n = y18n({
directory: path.join(__static, `locales`), directory: path.join(__dirname, `locales`),
updateFiles: true, updateFiles: true,
locale: 'en', locale: 'en',
}); });