fixed logic with locales in translation tasks