Closed travisricks closed 2 months ago
I'm not sure if this is a bug or I'm using it incorrectly.
I have a business case where the app language needs to change based on a user action. I'm using the loadLanguageAsync method for this.
loadLanguageAsync
After calling the method, I can console.log and see the active language has been changed, but none of the text on the screen is updating.
Is this the correct usage?
methods: { async changeLanguage(newLang) { await loadLanguageAsync(newLang); }, }
This was my fault. I was using trans instead of wTrans and also in my resolve function, lang was not being passed.
trans
wTrans
I'm not sure if this is a bug or I'm using it incorrectly.
I have a business case where the app language needs to change based on a user action. I'm using the
loadLanguageAsync
method for this.After calling the method, I can console.log and see the active language has been changed, but none of the text on the screen is updating.
Is this the correct usage?