diff --git a/README.md b/README.md index b317c6c..63405a1 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,12 @@ return [ ]; ``` +Publish vendor lang files if you need to replace by your own. + +```shell +php artisan vendor:publish +``` + ## How to use This package register a custom validator. You can use in your controller's `validate` function. @@ -46,7 +52,9 @@ class MyController extends Controller } ``` -By default the validator will load the `en` locale. If you want to use others dictionaries you can pass them as parameters in the validator. +By default the validator will load the default locale in your `config/app.php` file configuration which by default is `en`. If your locale is not supported, please [post an issue for this project](https://github.com/arandilopez/laravel-profane/issues) + +If you want to use others dictionaries you can pass them as parameters in the validator. ```php Please, help to add more locales + ## License This project is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).