Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dzulfahmi/07e22ec2ef24dab94aabd1019c00bef7 to your computer and use it in GitHub Desktop.
Save dzulfahmi/07e22ec2ef24dab94aabd1019c00bef7 to your computer and use it in GitHub Desktop.
Open File -> App\Providers\AppServiceProvider
And change method boot
public function boot()
{
config(['app.locale' => 'id']);
Carbon::setLocale('id');
}
Open File and changes -> config/app.php
'timezone' => 'Asia/Jakarta',
'locale' => 'id',
'faker_locale' => 'id_ID',
@dzulfahmi
Copy link
Author

run php artisan config:clear before run app..

@Ichsan-06
Copy link

Thx bro

@alfelric
Copy link

alfelric commented Dec 8, 2021

Thx bro

@guruhkennedy
Copy link

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment