Added the hooks for localization