Skip to content

Allow for translations of field names in error messages #83

@sebduggan

Description

@sebduggan

I've been working with the i18n features of ValidateThis, and have run into a roadblock.

I have locale-specific error messages, but the field name is still fixed to the one language defined in the rules file. So, for instance, I have a Chinese language file; the error comes out as:

Price需要
(price is required)

I'm not sure what the best way to handle translations for the field description; I'll update if I come up with a good idea...

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