LoginSignup
1

Laravel バリデーションエラーメッセージを日本語翻訳する

Last updated at Posted at 2023-08-04

手順

$ composer require --dev laravel-lang/lang laravel-lang/publisher
$ php artisan lang:add ja
$ composer remove --dev laravel-lang/lang laravel-lang/publisher

config/app.php を書き換えます。

config/app.php
    'locale' => 'ja',

翻訳

参考

ここから切り出した記事です。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1