Omit attribute name from validation error message (at start of it)?
        Posted  
        
            by mrbrdo
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by mrbrdo
        
        
        
        Published on 2010-06-12T16:55:31Z
        Indexed on 
            2010/06/12
            17:03 UTC
        
        
        Read the original article
        Hit count: 150
        
ruby-on-rails
I write code in English but I'm currently doing a site which is fully translated to another language (validation error messages included). However, I have a problem because validation error messages always seem to include the name of the attribute the error is on at the start of the error, e.g.:
Title Prosimo izpolnite naziv fakultete.
I want to get rid of the Title at the start, like so:
Prosimo izpolnite naziv fakultete.
Any help is appreciated. I would rather see if this can be solved without installing any 3rd party plugins. If it's possible to provide translations for attribute names, that would be a cool solution too, but I would still like to know how it can be done both ways (omit or translate).
© Stack Overflow or respective owner