Possible Duplicate:
Is there a Python library/class that can take a piece of text and determine the language?
How to detect the language of user submitted text (some keywords shorter than 30 chars in this case) natively in Python?
One method is to use Google AJAX Language API (Python Wrapper for Google AJAX Language API). I'm not sure if there is any daily query limit on single ip address?