Get the current language of the application not the device Android
<p>So I'am using a button to switch language from english to french ! </p>

<p>My problem is that i need to know the language of my current Application only not the language of my device .</p>

<p>I'am using these line of code in order to know the current language </p>

<pre><code>Locale.getDefault().getLanguage()
</code></pre>

<p>but Apparently he's returning my device language .</p>

<p>Any help will be appreciated .</p>