Add translation support to the settings dialog.