OK - I know now that It is possible to recognize language by CURL. Also that Google makes mistakes, but is so kind that tells how sure he is about his guess (0 - not at all, 1 - 100%, everything between - you know what).
So at this moment my proposition for this feature is to make it configurable with options:
- Always trust user (best for performance - Google is not asked when new message is coming, all other options will ask Google about real language)
- Always trust Google (Google result is always used as real language - not good for short messages)
- Trust user but ask Google (in such case if there are differences between what user marks and what Google is telling administrator will get email about it)
- Trust Google when result is trust worthy (another parameter will tell how sure Google must be to use his result - i.e. 0.3)
And one more thing - Google will not be asked if user in any place of message set lang BBCode manually.
What do you think about this?
![Smile](images/smilies/smile.png)