Translate a string.