Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save WahidinAji/4b25bb673dbc75d89b4cc9530f2bb502 to your computer and use it in GitHub Desktop.
Save WahidinAji/4b25bb673dbc75d89b4cc9530f2bb502 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',
@WahidinAji
Copy link
Author

WahidinAji commented Dec 14, 2021

run php artisan config:clear before run app..

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