I tried editing validation.php file, but it doesn't work for me. I can't find another same file except validation.php for different languages.
Some are vue js validations which are coming from here,
I can't find these translations in this file
Which version are you using?
Can you share the screenshot of the translation so that I can check which one you are referring to?
I am trying to edit this file
But can you share the page where actually validation you want to change so that i can check.
I edited it a little bit, but it's s login page themes/bliss/views/customers/session/index.blade.php. Did you mean this? I want to edit these validations like The "Email" field is required or The "Password" field must be at least 6 characters. Is it possible that custom theme causes the problem?
That validation is coming from
v-validate. Please check this doc to override the message,
hedyd last edited by hedyd
You need to publish your translations.
I made changes in packages/Webkul/Admin/src/Resources/lang/en/app.php
and changes canceled spelling under notification status
'notification' => [ 'title' => 'Notification', 'title-plural' => 'Notifications', 'status' => [ 'all' => 'All', 'pending' => 'Pending', 'processing' => 'Processing', 'canceled' => 'Cancelled', 'closed' => 'Closed', 'completed' => 'Completed', ], ]
But it is not reflecting on admin panel. After a while I realized that this translation admin panel is picking from resources/lang/vendor/admin/en/app.php directory instead of Admin package directory.
How to update the app.php file under resources/lang/vendor/admin/en/app.php
I run the vendor:puslish command, but it didn't work.
Is there any other way, As I am not pushing resources/lang/vendor directory to dev server.
I also tried again by changing text in file under Admin package and again run the vendor:publish command and select 22 (AdminServiceProvider) But it didn't override the lang/app.php filder under resources/lang/vendor directory
hedyd last edited by
Well I found the solution. I need to add --force to override files