title: Get List of all available language values when calling globalization.getPreferredLanguage
body: <p>How can I get all the language strings that comply to the returned value of the success function parameter that is passed when calling:</p>
  
  <pre><code>navigator.globalization.getPreferredLanguage(
    function (language) {alert('language: ' + language.value + '\n');},
    function () {alert('Error getting language\n');}
  );
  </code></pre>
  
  <p><a href="http://docs.phonegap.com/en/2.2.0/cordova_globalization_globalization.md.html#globalization.getPreferredLanguage" rel="nofollow">source</a></p>
  
  <p>When I run this code on my Android devices I get "English", however in some places I read that it returns the name of the language in the original language, for example, it will return '中国的' for Chinese.</p>
  
  <p>I need this returned value in order to change the UI language.</p>