Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<pre><code>MyProject/ res/ values/ strings.xml values-es/ strings.xml values-fr/ strings.xml </code></pre> <p>Add the string values for each locale into the appropriate file.</p> <p><strong>At runtime, the Android system uses the appropriate set of string resources based on the locale currently set for the user's device.</strong></p> <p>For info on Localizing with Resources</p> <p><a href="http://developer.android.com/guide/topics/resources/localization.html">http://developer.android.com/guide/topics/resources/localization.html</a></p> <p>More info @</p> <p><a href="http://developer.android.com/training/basics/supporting-devices/languages.html">http://developer.android.com/training/basics/supporting-devices/languages.html</a></p> <p>Also check the below link</p> <p><a href="http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.3_r2.1/android/content/ContextWrapper.java/">http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.3_r2.1/android/content/ContextWrapper.java/</a></p> <pre><code>86 @Override 87 public Resources getResources() 88 { 89 return mBase.getResources(); 90 } </code></pre> <p>Return a Resources instance for your application's package.</p> <pre><code>332 333 public final String getString(int resId) { 334 return getResources().getString(resId); 335 } </code></pre> <p>Return a localized string from the application's package's default string table. Parameters: resId Resource id for the string</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload