Fix i18n deprecation warning.