I need to localize a Laravel application in 5 languages, namely I want translated validation messages in http error responses.
I know that it's possible to create a 'resources/{language}/validation.php' file for each language but I want also keep the related logs always in English to let them be consulted by foreign developers.
I would avoid to write or istantiate a new validation component to do it.
How would you handle it?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire