This removes some of the manual work needed, though it doesn't seem to work well in RTL languages like Farsi and Arabic.