Remove trailing /n from DirectTranslate