-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
- Laravel Version: 8.25.0
- Nova Version: 3.20.0
- PHP Version: 8.0.1
Description:
Incomplete translation when localization is set to another language in the app config file.
Detailed steps to reproduce the issue on a fresh Nova installation:
FILE: config/app.php
When 'locale' => 'en' is OK:
When 'locale' => 'pl' is INCOMPLETE ("Resouces" label in sidebar and "Create" button):
NovaServiceProvider:
public function boot()
{
parent::boot();
Nova::serving(function (ServingNova $event) {
$this->app->setLocale('pl');
Nova::translations([
resource_path('lang/vendor/nova/en.json'),
resource_path('lang/vendor/nova/pl.json'),
]);
});
}
Metadata
Metadata
Assignees
Labels
No labels

