Dynamically load language files (#446)

This commit is contained in:
Darko Gjorgjijoski
2025-08-28 15:19:51 +02:00
committed by GitHub
parent 32f7bc053a
commit a40bf5840d
10 changed files with 154 additions and 59 deletions

View File

@@ -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)