I have an_errors.html.erb that takes an object and has
<%= object.class.name %>.
It is called by this in a _form.html.erb:
<%= render 'shared/errors', object: @product %>
What should I write in my xx.yml file to find the translation?
I have
models:
product: Produkt
which doesn't do the job.
Any clues?
Cheers Carl