Localizing string resources added via build.gradle using "resValue"
<p>This is in continuation to an answer which helped me on <a href="https://stackoverflow.com/a/30879430/1957401">this post</a></p>

<p>We can add the string resource as follows from <code>build.gradle</code>:</p>

<blockquote>
<pre><code>productFlavors {
    main{
        resValue "string", "app_name", "InTouch Messenger"
    }

    googlePlay{
        resValue "string", "app_name", "InTouch Messenger: GPE Edition"
    }
}
</code></pre>
</blockquote>

<p>It works like a charm and serves the purpose of having different app names per flavor. (with the original <code>app_name</code> string resource deleted from <code>strings.xml</code> file.</p>

<p>But, how do we add localized strings for this string resource added from <code>build.gradle</code> ?</p>

<p>Is there an additional parameter we can pass specifying the locale?
<strong>OR</strong>
Possible to do it using a <code>gradle</code> task?</p>

<p><strong>Note:</strong> I cannot do this using <code>strings.xml</code> (not feasible because of several ways in which my project is structured)</p>