There are more than one way to do this. The best is using json I guess.
If you don’t even know anything about this you can make something like this:
If language = english, button5.text = hello
else if language = spanish, button5.text = hola
If you don’t have many components and will not change the text very often, you can do something like this for all the components.