Enabled auto-switching

This commit is contained in:
Kenneth Iversen
2022-09-14 10:24:56 +02:00
parent 7a71ee7044
commit b4d92b8231
+7 -4
View File
@@ -118,7 +118,10 @@ local Translations = {
},
}
Lang = Locale:new({
phrases = Translations,
warnOnMissing = true
})
if GetConvar('qb_locale', 'en') == 'no' then
Lang = Locale:new({
phrases = Translations,
warnOnMissing = true,
fallbackLang = Lang,
})
end