For a mobile application I'm making in Android Studio, I want to make it possible for users to change the language of the application. The idea is as follows: I have multiple strings.xml files (for the different languages) and I want to switch to a specific file when the language is changed (e.g. if language is changed to German, switch to file strings.xml (de)). However, I can't seem to find a way to programmatically switch to another strings.xml file. The only solution I can find online is to change the locale of the system, but I would rather avoid this option. Is there any way to programmatically change the strings.xml file, without changing the locale?
Thanks in advance!