mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-19 11:14:06 +00:00
Dynamically load language files (#446)
This commit is contained in:
committed by
GitHub
parent
32f7bc053a
commit
a40bf5840d
@@ -65,7 +65,8 @@ export default {
|
||||
}
|
||||
|
||||
if(typeof res.data.profile_language === 'string') {
|
||||
global.locale.value = res.data.profile_language
|
||||
// Use dynamic language loading instead of direct assignment
|
||||
await window.loadLanguage(res.data.profile_language)
|
||||
}
|
||||
|
||||
let dbstep = parseInt(res.data.profile_complete)
|
||||
|
||||
Reference in New Issue
Block a user