Conditionally languages based Thank You Message not working