public void switchLanguageTo(ELanguage lang)
 {
     CurrentLanguage = languageList.FirstOrDefault(l => l.Language == lang);
     cultureInfo     = CultureInfo.CreateSpecificCulture(CurrentLanguage.Code);
 }
 public LanguageService(Assembly assembly)
 {
     CurrentLanguage = languageList[0];
     resourceManager = new ResourceManager("DataLogger.Resources.Res", assembly);
     cultureInfo     = CultureInfo.CreateSpecificCulture(CurrentLanguage.Code);
 }