Add localization support, and localize the MainWindow.