Set up localization.