Detecting Language (i.e. English, Spanish, Russian, etc)

Does anyone have a good solution to the problem of servers that post content that don’t contain the @language tag in the @context for “Note” Objects, for example. That would for example have “en” for English language. I’m noticing that tons of messages in outboxes I’m reading from across the web don’t have language specified, so I get tons of foreign language stuff on my English language server.

I know I can use a spell checker to impose a rule of like if more than 60% of words are unknown think of it as non-English, but that would be quite a hack.