Translates the given key to the localized string, if available.
key
String? translate(String key) => localizedStrings[key];