locales retrieving is working