Add i18n functionality to alerts