Add the translates to ActiveRecord for errors of model validations .
activerecord:
    models:
      ...
    attributes:
      ...
      category:
        code: Codigo