Added translations api code.