Login form translation

Hi all! im new using Vaadin and Im making an little app.
Im using a loginForm and i was wondering if its possible to translate the text that says “user”,“password”,“login”.
Thank you!

EDIT: nevermind I found a solution, here is the link for anyone who has the same problem:[https://vaadin.com/components/login/java-examples]
(https://vaadin.com/components/login/java-examples)