Translation in demo app for java android

I don’t know how to use the translation can you please tell me how can i translate how can i set up the translation i need this in order to can you please be specific where to add the code and how to set up that the customer could pick up the language