Skip to content

The Free Software Media System - Server Backend & API

Add error logging when translation is missing from core

Claus Viumce03662fa714
diff --git a/Emby.Server.Implementations/Localization/LocalizationManager.cs b/Emby.Server.Implementations/Localization/LocalizationManager.cs
index 2120a8461b..31217730bf 100644
--- a/Emby.Server.Implementations/Localization/LocalizationManager.cs
+++ b/Emby.Server.Implementations/Localization/LocalizationManager.cs
@@ -470,6 +470,10 @@ namespace Emby.Server.Implementations.Localization
dictionary[key] = dict[key];
}
}
+ else
+ {
+ _logger.LogError("Missing translation/culture resource: {ResourcePath}", resourcePath);
+ }
}
}