Checking if user is using a specific locale
<p>I need to check if the locale of a user's device is Japanese. I'm doing the following:</p>

<pre><code>public boolean isJapaneseLocale() {
    String locale = Locale.getDefault().toString();
    locale = locale.toLowerCase();
    return locale.startsWith("ja");
}
</code></pre>

<p>should that be sufficient? I'm getting a warning about:</p>

<pre><code>locale.toLowerCase()
</code></pre>

<p>and using the default locale for that. Is this not safe for this operation? </p>

<p>Thanks</p>
