translate titles
remove trailing spaces