fix i18n error for non-activerecord tests