get locale from language file, if available

if not, try to guess it.

also:
- remove patch for es_ES
- change .UTF8 to .utf8  (better?)