Hi!

I think the problem is, that the models and attributes on one side
(outside errors) and the model and attribute specific messages (inside
errors) aren't seperated clearly enough (in the error messages and the
descriptions). My question above resulted from a generic error
messages and I wanted to know how the attributes (in this case I have
a bad class "message" with a bad attribute "message" which make things
even worse) are translated, but the answer was how I would implement
special messages for this attributes... That's kind of confusing :)

On 26 Nov., 12:24, Sven Fuchs <[EMAIL PROTECTED]> wrote:
> Hi Anton,
>
> could you give some URLs of sources that you found misleading so we  
> can notify their authors and have them corrected?
>
> On 26.11.2008, at 12:13, abtrapp wrote:
>
>
>
> > Hi there!
>
> > I tried about 20 versions to get rid of the error in the activerecord
> > tranlation:
>
> > Validation failed: Message translation missing: de, activerecord,
> > errors, models, message, attributes, message, blank
>
> > Most sources on the internet suggest, that:
>
> > de:
> >  activerecord:
> >    models:
> >      message: "Nachricht"
> >    attributes:
> >      message:
> >        message:  "Nachricht"
>
> > should be correct to do this, however it does nothing. The same for
> > the other hierarchies (like putting the model below the errors, the
> > attributes below the model, ...). Has anybody found a solution how to
> > get this done? The rest of I18n works perfect (including dates, ...),
> > but every time I have an activerecord message it ignores whatever I
> > do :(
>
> > Thank you very much in advance!
>
> > Anton
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rails-i18n" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rails-i18n?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to