Generate available locales

Fixes #6