What is the most efficient way of checking whether English spelling is inconsistent (US vs British and the other way around)? I know that I can set the language e.g., to en-GB and if there are words with US spelling that will list them. But what if I don’t know whether the user is writing in GB or US and I want to show error only if the text contains both GB and US spelling, meaning it is inconsistent.
I could send the text twice once with language setting as GB and if US spelling found, then resend with language setting as US and check if GB spellings found, but this is rather inefficient.
Auto-detection of language seems to always classify English text as en-US.
If you have any ideas, please let me know.