Revert d199ee8b011bc68ba89036d6b84ae6acf5013c39 and move text-translate to render_text.