Language sensitive text transformation and translation