title: Android: Change Languages (string.xml) programmatically
body: <p>In our Android app, we have an option for the user to change the language, which means he can select whether he want to use English or Sinhala. The default is always in English. We have one string.xml for English and another for Sinhala. </p>
  
  <p>I was referring Android documents about "localization" but that is not exactly what I am looking for, I can't ask the user to change his phone settings. I also noticed programmatic localization which is discussed in <a href="https://stackoverflow.com/questions/5244889/load-language-specific-string-from-resource">here</a> but most users do not recommend it due to loads of errors (anyway these posts are pretty old)</p>
  
  <p>So, what's the best way of changing the String?XML file, with the preferred language of a user? It seems not easy on Android.</p>
  
  <p>Or, is this is simply not a good idea?</p>