private bool LoadData(ResourceEnum.LocalizationType localizationType) { string fileName = string.Format(localizationType.GetDescription(), SystemCulture.Language.GetDescription()); string rootDir = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location); ResourceData = JsonConvert.DeserializeObject <Dictionary <string, string> >(File.ReadAllText(Path.Combine(rootDir, "ResourceFiles", $"{fileName}.json"))); return(ResourceData?.Any() ?? default); }