How to localize some text

Hi there! I want to know how can i translate (localize) some text? Such a Username, Password, Disable everyones camera and so on?

you can use translate api or you can make your using changes in frontend code