localized Text
fun localizedText(key: String, language: Language? = textLanguage, doNotRepeatTwiceInARow: Boolean = true): Utterance
Returns a random utterance from the loaded sheet with specified key and language.
Allows the use of tags inside a text (see utteranceFromTextWithTags).
Parameters
key
The key to the string to fetch (first column).
language
The language corresponding to the sheet language code (second column).
do Not Repeat Twice In ARow
if set to false the function will take a random string from the options without track of the previous ones