Like getText, but throws NoLocalizedTextException if there is no text.
NoLocalizedTextException
String getLocalizedText(String textId) => getText(textId) ?? (throw _noText(textId));