formatted translation code