Skip to content

[Request] Translate field name in validation messages #144

@billmn

Description

@billmn

I think that can be useful a method to translate fields name in validation messages without create custom messages for all fields.

An example of message ( "The :attribute field is required." ) :

// English
The "price" field is required.

// Italian
Il campo "price" è richiesto. «-- wrong
Il campo "prezzo" è richiesto. «-- better

// French ( sorry for the translation, I don't know French :-) )
Le "price" est nécessaire. «-- wrong
Le "prix" est nécessaire. «-- better

What do you think about it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions