Skip to contents

This function detects the language of a given text using the Google Translate API.

Usage

language_detect(text)

Arguments

text

The text for which the language needs to be detected.

Value

A character string representing the detected language.