void OnTranslationChanged(object sender, FileSystemEventArgs e) { //reload translations Logger.LogMessage("Detected change in " + Path.GetFileName(e.FullPath)); TranslationRepository.LoadTranslations(); }
public void Awake() { //load translations from translation directory TranslationRepository.LoadTranslations(); }