Wikimedia OCR should have an API endpoint allowing you to fetch the supported languages for the given engine. This would allow the MediaWiki backend to pre-fetch the list for use in autocompletion on the frontend.
It's also just a courteous thing to do, if we are providing an API to OCR images. No one should have to hard code the list of languages we support!
Acceptance criteria
- Add an API endpoint to get a list of supported languages for a given engine