void SetLanguage(string languageDictionary) { CurrentDictionary = JsonUtility.FromJson <LanguageDictionary>(languageDictionary); SubmitButton.GetComponentInChildren <Text>().text = CurrentDictionary.GetKeyValue("submit"); NextButton.GetComponentInChildren <Text>().text = CurrentDictionary.GetKeyValue("next"); PreviousButton.GetComponentInChildren <Text>().text = CurrentDictionary.GetKeyValue("previous"); CancelButton.GetComponentInChildren <Text>().text = CurrentDictionary.GetKeyValue("cancel"); }