diff --git a/src/Orchard/Localization/Services/LocalizationStreamParser.cs b/src/Orchard/Localization/Services/LocalizationStreamParser.cs index b0a06b948..58d5dfc55 100644 --- a/src/Orchard/Localization/Services/LocalizationStreamParser.cs +++ b/src/Orchard/Localization/Services/LocalizationStreamParser.cs @@ -39,6 +39,9 @@ namespace Orchard.Localization.Services { var translation = ParseTranslation(poLine); // ignore incomplete localizations (empty msgid or msgstr) if (!string.IsNullOrWhiteSpace(id) && !string.IsNullOrWhiteSpace(translation)) { + if(scopes.Count == 0) { + scopes.Add(string.Empty); + } foreach (var scope in scopes) { var scopedKey = (scope + "|" + id).ToLowerInvariant(); if (!translations.ContainsKey(scopedKey)) {