- Issue created by @prashant.c
- 🇮🇳India annmarysruthy
Added validation in CkEditor AI tools - Translate settings. When a vocabulary is selected for translate settings, validation checks if the terms in selected vocabulary are languages supported in drupal. Otherwise an error message with the invalid terms is displayed.
Kindly review and test.
- 🇬🇧United Kingdom MrDaleSmith
Works as described, but if you select a vocabulary that has no terms in it, the validation passes. Might be worth having a check for if the vocabulary is empty.
- 🇮🇳India annmarysruthy
Added a check for empty vocabulary as per review comment. Also validation will occur only when translate is enabled in CK Editor.
Thanks for the input @mrdalesmith. Kindly review changes.
- 🇩🇪Germany marcus_johansson
LGTM, however I'm wondering how well this fits together with #3515743. One of the advantages of the taxonomy system is that you can really use descriptive language names like "Bureaucratic Swedish", "Informal Swabian German" or made up languages that some LLM handles like "Klingon" and these does not fit actual languages from the language list.
I'll add this comment to discussion on Slack and see how people feel about merging it.