Clean some translation code