update loading of translation file

This commit is contained in:
Mister_Nebula 2022-06-08 21:12:44 +01:00
parent 91be73cbff
commit e3abfad19d

View File

@ -20,7 +20,7 @@ public static class QSBLocalisation
var files = directory.GetFiles("*.json");
foreach (var file in files)
{
var translation = QSBCore.Helper.Storage.Load<Translation>($"Translations\\{file.Name}");
var translation = QSBCore.Helper.Storage.Load<Translation>($"Translations\\{file.Name}", false);
_translations.Add(translation);
DebugLog.DebugWrite($"- Added translation for language {translation.Language}");
}