i18n rules converted to trait