To 2 from 1 | Laravel Lang

Laravel Lang Help

To 2 from 1

Updating Dependencies

You should update the following dependency in your application's composer.json file:

  • "laravel-lang/json-fallback-hotfix": "^1.0" with "laravel-lang/json-fallback": "^2.0"

Next, run the update dependency console command:

composer update

Change namespace

You need to change the namespace in the config/app.php file:

LaravelLang\JsonFallbackHotfix\TranslationServiceProvider

with

LaravelLang\JsonFallback\TranslationServiceProvider
Last modified: 05 June 2024