为什么我的 "overtrue/Laravel-lang:~3.0" 安装成功后,报错还是显示英文

vagrant@homestead:~/code/Laravel$ composer require "overtrue/laravel-lang:3.0"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
  - Installing caouecs/laravel-lang (3.0.59): Downloading (100%)
  - Installing overtrue/laravel-lang (3.0.0): Downloading (100%)
caouecs/laravel-lang suggests installing arcanedev/laravel-lang (Translations ma         nager and checker for Laravel 5)
caouecs/laravel-lang suggests installing ablunier/laravel-lang-installer (Comman         d for easily add languages to a Laravel project)
caouecs/laravel-lang suggests installing andrey-helldar/laravel-lang-publisher (         Easy installation and update of translation files for your project)
Writing lock file
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: fideloper/proxy
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Package manifest generated successfully.
vagrant@homestead:~/code/Laravel$

config/app.php 里面添加Overtrue\LaravelLang\TranslationServiceProvider::class, 才显示,不是说自动注册的嘛,我的laravel版本5.5

《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
最佳答案

file
我们还需要将 config/app.php 中 locale 的值设置为 zh-CN
详情请参考https://learnku.com/courses/laravel-essential-training/5.5/registration-failed-error-message/587

5年前 评论
讨论数量: 4

file
我们还需要将 config/app.php 中 locale 的值设置为 zh-CN
详情请参考https://learnku.com/courses/laravel-essential-training/5.5/registration-failed-error-message/587

5年前 评论

@sunnylin 昨天就是设置的中文,那可能是缓存原因吧

5年前 评论

设置后要刷新一下,并且重新测试

5年前 评论

@sunnylin 好的,谢谢,今天已经好了

5年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!