Identifying a language can be useful when you get some text information from your users and you need to respond in the appropriate language.
This is where the ML Kit language package comes to help. By passing some text to the package, you will be able to recognize the language of the text. Once you know the language, you can later translate it into one of the other supported languages.