Put your all text in String file. For each language create separate String file(Deutsch values-de/strings.xml, French values-fr/strings.xml)
and while you need to change language call following function. For English language set "en" for another set corresponding key
#Kotlin
val config = resources.configuration
val locale = Locale("en")
Locale.setDefault(locale)
config.locale = locale
resources.updateConfiguration(config, resources.displayMetrics)
#Android Java
Configuration config = getBaseContext().getResources().getConfiguration();
Locale locale = new Locale("en");
Locale.setDefault(locale);
config.locale = locale;
getBaseContext().getResources().updateConfiguration(config,
getBaseContext().getResources().getDisplayMetrics());