public void LoadYaml() { loc = new Loc(); loader = new LocalizationLoader(loc); loader.FileLanguageLoaders.Add(new YamlFileLoader()); loader.AddDirectory(directory); }