Identify language to txt

Is it possible to identify languages of a big LINKLIST.txt and sort them out in different text files by language?

ie:
US.txt
DE.txt
CH.txt