Updated translation code