I cut out the usual hassle without overthinking it ...
The Chrome and Edge browsers have built-in APIs for language detection, translation, summarization, and more, using locally ...