Set lang="en" in TextFields

Hi, I a have notes report that has to be filled by two different teachers, one is an english teacher and the other one is a spanish teacher. I’m in the need of setting the “lang” attribute of input fields in the resulting HTML so that the browser enables auto-correct for those fields, is there any way for me to set it in vaadin like a property of textfields or anything like that?