Set content length after a translation