Is there an app that identifies the language someone is speaking?

I'm looking for an app on iphone or android it doesn't matter that has a microphone access and what i would like is that when someone talks into it, it will identify wat the language is for example
yo me llamo johnathon
and the app would identify it as spanish
what kind of tea is this?
and the app would identify it as english
so on and so forth
is there an app that identifies the language someone is speaking?

Probably not. Most languages have too many variables (accents, dialects, speech impediments) for a machine to work that all out