/// <summary> /// Initialize the Localization of the application. /// Define supported translations files /// Load translations files /// </summary> public static void Init() { try { $FileLoaderAddInCode$ LocalizationLoader.Instance.AddDirectory(LanguagesDirectoryPath); } catch (Exception exception) { MessageBox.Show($"Can't load languages files :\r\n{exception}", "Error", MessageBoxButton.OK, MessageBoxImage.Warning); } }