Adds localization for the window.