use Locales for representing languages (changes from mucommander repo)