Fixed bugs in language translation