Fix language setting?
This commit is contained in:
parent
f94cef0cee
commit
b9ebdc4fb3
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue