NXP-11065: always look for a translation for taskname and directive if locale is not null