Retrieves the language information saved in window.navigator.languages in a backwards compatible way.