title: Localize "loadingDialog" string in config.xml for Cordova / PhoneGap Android app
body: <p>On the startup of my application I would like to localize the <em>loadingDialog</em> string for different languages. My application uses Phonegap/Cordova and uses the <em>loadingDialog</em> preference in <em>config.xml</em> to show an loader on startup. (Documentation <a href="http://docs.phonegap.com/en/2.4.0/guide_project-settings_android_index.md.html#Project%20Settings%20for%20Android" rel="nofollow noreferrer">here</a>.)</p>
  <p><strong>Config.xml</strong></p>
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;widget id=&quot;com.app.app&quot; version=&quot;1&quot; xmlns=&quot;http://www.w3.org/ns/widgets&quot; xmlns:cdv=&quot;http://cordova.apache.org/ns/1.0&quot;&gt;
      &lt;preference name=&quot;loglevel&quot; value=&quot;DEBUG&quot; /&gt;
      &lt;preference name=&quot;AndroidLaunchMode&quot; value=&quot;singleTop&quot; /&gt;
      &lt;preference name=&quot;LoadingDialog&quot; value=&quot;Loading&quot;/&gt;
      &lt;preference name=&quot;backgroundColor&quot; value=&quot;0x00000000&quot; /&gt;
      [...]
      &lt;name&gt;App name&lt;/name&gt;
      &lt;description&gt;&lt;/description&gt;
      &lt;author email=&quot;author@mail.com&quot; href=&quot;http://www.website.com&quot;&gt;Author&lt;/author&gt;
      &lt;content src=&quot;index.html&quot; /&gt;
      &lt;access origin=&quot;*&quot; /&gt;
  &lt;/widget&gt;
  </code></pre>
  <p>In the <em>/res/</em> directory I have added 10 languages, including <em>/values/</em>, <em>/values-de/</em> and <em>/values/fr/</em> and each folder contains a <em>strings.xml</em> document with the following information.</p>
  <p><strong>Strings.xml</strong> (multiple files)</p>
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;resources&gt;
      &lt;string name=&quot;app_name&quot;&gt;App name&lt;/string&gt;
      &lt;string name=&quot;loading&quot;&gt;Loading&lt;/string&gt;
  &lt;/resources&gt;
  </code></pre>
  <p>Now I would like to localize the &quot;<em>Loading</em>&quot; string in <em>config.xml</em> for all languages. I have tried to use the code below, but it simply display's &quot;<em>@string/app_name</em>&quot; as the loading message. Is it possible to localize this string on startup, and if so how?</p>
  <pre><code>&lt;preference name=&quot;LoadingDialog&quot; value=&quot;@string/loading&quot;/&gt;
  </code></pre>
  <p>Loading message with this setting:</p>
  <p><img src="https://i.stack.imgur.com/STg8e.png" alt="enter image description here" /></p>
  <p>Any help would be greatly appreciated. Thank you.</p>