updated translation API