Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate validation messages based on header request #1737

Closed
elgreatly opened this issue Feb 27, 2019 · 1 comment
Closed

Translate validation messages based on header request #1737

elgreatly opened this issue Feb 27, 2019 · 1 comment
Assignees
Labels
feature New functionality or improvement
Milestone

Comments

@elgreatly
Copy link

i need a way to return a validation message translated based on header messages
example:
header request params has language: en
then the require message should be: {{key}} is required

header request params has language: fr
then the require message should be: {{key}} est requis

is there a way to do this?

@WesTyler WesTyler added the support Questions, discussions, and general support label Mar 1, 2019
@hueniverse
Copy link
Contributor

Not currently supported. The content of the input does not change the error language.

@hueniverse hueniverse self-assigned this Jun 3, 2019
@hueniverse hueniverse added request and removed support Questions, discussions, and general support labels Jun 7, 2019
@hueniverse hueniverse reopened this Jun 7, 2019
@hueniverse hueniverse changed the title is there a way to translate validation messages based on header request Translate validation messages based on header request Jun 7, 2019
@hueniverse hueniverse added this to the 16.0.0 milestone Jun 10, 2019
@hueniverse hueniverse added the v16 label Aug 10, 2019
@hueniverse hueniverse added feature New functionality or improvement and removed request labels Sep 19, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New functionality or improvement
Projects
None yet
Development

No branches or pull requests

3 participants