Fixed an i18n bug where switching back to en_US would fail
This commit is contained in:
parent
e1f02ede35
commit
59087353f0
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue