Added generation of locales