title: Converting language names to ISO 639 language codes
body: <p>I need to convert language names like 'Hungarian', 'English' to ISO 639 codes. ISO 639-6 would be the best but ISO 639-2 is good enough. What's the best way to achieve this?</p>
  
  <p>I should convert the English to locale and get the language with getLanguage()? If thats the only way how can I convert a string like 'English' to a java locale?</p>
  
  <p>My goal is to store book language info using the ISO 639 codes.</p>