Created directive for language switching
Implemented language switching mechanism