title: Translation Strings in xml not working
body: <p>i have this code for my spinner. and its include title and subtitle and image.</p>
  
  <pre><code>public class Gold extends Activity implements OnClickListener, AdapterView.OnItemSelectedListener{
  String[] strings = {"Gold", "Sliver"};
  String[] subs = {"Gold 24 India"};
  int arr_images[] = { R.drawable.gold24};
  </code></pre>
  
  <p>...</p>
  
  <pre><code>        public View getCustomView(int position, View convertView, ViewGroup parent) {
          LayoutInflater inflater=getLayoutInflater();
          View row=inflater.inflate(R.layout.row, parent, false);
          TextView label=(TextView)row.findViewById(R.id.SelectUnits);
          label.setText(strings[position]);
          TextView sub=(TextView)row.findViewById(R.id.sub);
          sub.setText(subs[position]);
          ImageView icon=(ImageView)row.findViewById(R.id.image);
          icon.setImageResource(arr_images[position]);
  
          return row;
  </code></pre>
  
  <p>i added translation to strings.xml but it doesn't work.</p>
  
  <p><strong>my question is how can i add translation to this method of strings?</strong></p>
  
  <p>thanks in advance. </p>