refs #151 Set default language to english
This commit is contained in:
parent
cbcc85b222
commit
8d47e28cfe
|
@ -4,7 +4,7 @@ import Backend from 'i18next-sync-fs-backend'
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
initImmediate: false,
|
initImmediate: false,
|
||||||
lng: 'ja',
|
lng: 'en',
|
||||||
backend: {
|
backend: {
|
||||||
// path where resources get loaded from
|
// path where resources get loaded from
|
||||||
loadPath: path.resolve(__dirname, './locales/{{lng}}/{{ns}}.json'),
|
loadPath: path.resolve(__dirname, './locales/{{lng}}/{{ns}}.json'),
|
||||||
|
|
|
@ -109,7 +109,6 @@ async function createWindow () {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
i18n.changeLanguage('ja')
|
|
||||||
/**
|
/**
|
||||||
* Set application menu
|
* Set application menu
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue