 MX<br />
	  Country Name: México<br />
	  Language Code: es<br />
	  Language Name: español</code></p>

            <p>You can also get all the locales supported by Java:</p>

            <p><code class="java hljs">Locale [] locales = Locale.getAvailableLocales();<br />
	  Arrays.stream(locales)<br />
	  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;.forEach(System.out::println);</code></p>

            <p>This would output around 160 locales in the form of <code>language[_country]</code>, for example:</p>

        