Get Resource by Name
<p>Hy!</p>

<p>I have in my /values/strings.xml:</p>

<pre><code>&lt;resources&gt;
    &lt;string name="error418"&gt;Bad Request&lt;/string&gt;
    &lt;string name="error404"&gt;Not Found&lt;/string&gt;
    ......
&lt;/resources&gt;
</code></pre>

<p>the same in /values-de/strings.xml</p>

<p>Now i want to get the error messages by the string "error418".</p>

<p>I only found context.getString(int ...).</p>

<p>How to get the error message by code?</p>
