Twitter doesn't provide a way to check the language of a tweet. You can
easily check the location of the user, but that wouldn't be accurate.
The best way is to ask the Google Translate API to detect the language,
but that would take time. A different way to solve it is to simply check
for common english words.

Tom


On 9/18/10 4:26 PM, steveh000 wrote:
> I am learning all about java and the Twitter api for my second year at
> Uni, I have created a stream where I am getting everything sent to me
> in every language i can think off. is there a way of filtering it to
> just English.
> 
> If someone could point me in the right direction that would help me
> loads.
> 
> Thanks in advance
> 
> Steve
> 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en

Reply via email to