lang switch checks added

lang switch checks added