parse

fun parse(input: String, locale: Locale): Boolean?

Parse the given string into a Boolean based on the translations for the given locale. Falls back to the bot's default locale as required.