attach locales to window for now