register locales directory