title: How do I know the measurement units corresponding to a given locale?
body: <p>I'd like to display length in a locale-dependent way, i.e.: show the length in the correct measurement unit for the current locale. I know <code>LC_MEASUREMENT</code> is what I need to use, however how do I use it?</p>
  
  <p>GNU gettext does not give me anything to work with <code>LC_MEASUREMENT</code>. I looked at the source of some weather applets and they all require you to manually enter your unit (Kelvin, Fahrenheit or Celsius) in the preferences window.</p>
  
  <p>It seems to me that that environment variable is never used by anyone, however I'd really like to use it to give a better user experience. Perhaps, is there a free (as in freedom) database that maps locale names to the corresponding measurement units?</p>
  
  <p>FYI: my application is written in C.</p>