1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

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',

翻訳

参考

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

1
0
0

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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?