translating tcp app from pt -> en