only enforcing available locales if it is available