load and select dictionary and language inside directives