get_current_language
get_current_language(); - this function is used to get the current input language
After testing, the function returns the result of its work to the script :
input language – the current input language (string)false – operation failed (boolean)