localization hooks