fixed lang vars
added check for foreign lang usage