title: How getResources().getString() works android
body: <p>For e.g there is app which provides multi-language support, in my activity/UI, I call <code>getResources().getString(R.string.hello)</code> which exist in strings.xml,such that</p>
  
  <pre><code>values\strings.xml
  values-ru\strings.xml
  </code></pre>
  
  <p>Now when calling <code>getResources().getString(R.string.hello)</code> and need to access string based on system locale, so will one get strings from <code>values\strings.xml</code> OR <code>values-ru\strings.xml</code>?</p>
  
  <p>OR </p>
  
  <p>does one need to change my app locale based on system locale (keep app locale same as system locale) and then retrieve the value from <code>getString()</code>, something suggested in below links</p>
  
  <ol>
  <li><p><a href="https://stackoverflow.com/a/6526588/1225413">get-string-from-default-locale-using-string-in-specific-locale</a></p></li>
  <li><p><a href="https://stackoverflow.com/a/9475663/1225413">how-to-get-string-from-different-locales-in-android</a></p></li>
  </ol>
  
  <p>I have searched various other links, but not able to find the solution</p>