Fixed an i18n bug where switching back to en_US would fail
This commit is contained in:
parent
e1f02ede35
commit
59087353f0
|
@ -81,6 +81,7 @@ export default {
|
|||
let self = this
|
||||
import(`../translations/${value}.json`).then((response) =>{
|
||||
Vue.$translations[value] = response.default[value]
|
||||
}).finally(() => {
|
||||
self.$language.current = value
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue