When a page is in a language that the TTS server does not support we want to ensure that the user gets relevant feedback and that unnecessary requests to the TTS are not made.
Things to consider:
- Determine if page language is supported before triggering cleaner/segmenter. Making use of Languages available for TTS.
- Make sure js can deal with cleaner/segmenter not being triggered.
- Should behaviour be different on mono- and multilanguage wikis?
- Output error message?
- Hide buttons?
- Allow user to try synthesizing the text in a different language? (Are there cases where using a similar language makes sense?)