title: Android Kotlin get all system languages
body: <p>On an android device I can load different languages.</p>
  
  <p>Example:</p>
  
  <pre><code>English (Set as default language)
  French
  Italian
  </code></pre>
  
  <p>How can I get this list programmatically?</p>
  
  <p>I know that I can get the language with this code:</p>
  
  <pre><code>Locale.getDefault().getDisplayLanguage()
  </code></pre>
  
  <p>Or is there a way to set the fallback language of my android app to the second language of the system?</p>
  
  <hr>
  
  <p><strong>EDIT://</strong></p>
  
  <p><em>Szenario:</em> </p>
  
  <p>Selected Android System Languages:</p>
  
  <ul>
  <li>English (Set as default)</li>
  <li>French</li>
  <li>Italian</li>
  </ul>
  
  <p>Supported App Languages:</p>
  
  <ul>
  <li>string.xml (German) -> set as default </li>
  <li>string-fr.xml (French)</li>
  <li>string-it.xml (Italian)</li>
  </ul>
  
  <p>Current App behavior:</p>
  
  <ul>
  <li>Displays the app with the German translation. </li>
  </ul>
  
  <p><strong>Expected new App behavior:</strong></p>
  
  <ul>
  <li>Displays the app with the French translation because French is on the 2nd position in my Android System Language list.</li>
  </ul>