Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Commit 01a8b64

Browse files
authored
Added a note to the readme for the path to the localization override. (#20)
1 parent 6d83555 commit 01a8b64

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ use Ubient\PwnedPasswords\Contracts\LookupErrorHandler;
9292
$this->app->bind(LookupErrorHandler::class, MyCustomErrorHandler::class);
9393
```
9494

95+
#### Overriding localization
96+
If following the [Laravel Docs](https://laravel.com/docs/master/localization#overriding-package-language-files) to override the validation message provided by this package you'll need to use the `PwnedPasswords` namespace for the file path.
97+
98+
To override the validation message provided by this package, place your file at `resources/lang/vendor/PwnedPasswords/en/validation.php`.
99+
95100
## Testing
96101

97102
``` bash

0 commit comments

Comments
 (0)