/// <summary> /// Loads the given config into the localization, will overwrite in there. /// </summary> /// <param name="config">Localization config which should be used.</param> /// <param name="parameters">Additional parameters used for resolving the path.</param> public static void LoadLocalization(LocalizationConfig config, Dictionary <string, string> parameters) { entries = LocalizationReader.Load(config, parameters); }
/// <summary> /// Loads the given config into the localization database, will overwrite everything. /// </summary> /// <param name="config">Localization config which should be used.</param> /// <param name="language">Language which should be loaded.</param> /// <param name="course">Name of the course which is ran.</param> public static void LoadLocalization(LocalizationConfig config, string language, string course) { entries = LocalizationReader.Load(config, language, course); }