title: How to get a multilingue android application from a array list
body: <p>i am tried to create a multilingue application. I have in my strings.xml file</p>
  <pre><code>&lt;string name=&quot;Vert&quot;&gt;green&lt;/string&gt;
  &lt;string name=&quot;Gris&quot;&gt;Grey&lt;/string&gt;
      &lt;string-array name=&quot;couleur&quot;&gt;
      &lt;item&gt;@string/Vert&lt;/item&gt;&lt;/string-array
  </code></pre>
  <p>In my main activity i write this.my activty composed with two button i called setlang method in onclick method</p>
  <pre><code>  public void setLan(Activity activity, String lang){
      Locale locale = new Locale(lang);
      String[] coul = getResources().getStringArray(R.array.couleur);
      Resources resources = activity.getResources();
      Configuration configuration = resources.getConfiguration();
  
      configuration.setLocale(locale);
      resources.updateConfiguration(configuration,resources.getDisplayMetrics());
         }
  </code></pre>
  <p>My activity2 i have a textview that will be translate i write</p>
  <pre><code>&lt;TextView
      android:text=&quot;@string/Vert&quot;/&gt;
  </code></pre>
  <p>I got an error</p>
  <blockquote>
  <p>ressources not found @string/Vert</p>
  </blockquote>
  <p>Thanks for helping me</p>