detect_language binding