Following a first impulse, I was inclined to recommending Hugging Face transformers. But upon trying, it turned out that one needs an access token.
A simpler idea is to throw text tokens into language specific dictionaries as preparation. Later you look words up and see which dictionary yields the most hits.