In a text input field, select the Input options icon and Writing language. You can change the writing language any time, even while writing text or a message.