We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e95f27c commit 00cceabCopy full SHA for 00cceab
src/ServiceProvider.php
@@ -14,6 +14,10 @@ public function boot(): void
14
Nova::script('nova-unlayer-field', __DIR__.'/../dist/js/field.js');
15
});
16
17
+ $this->publishes([
18
+ __DIR__.'/../resources/lang/' => resource_path('lang/vendor/nova-unlayer-field'),
19
+ ]);
20
+
21
$this->registerTranslations();
22
}
23
@@ -22,5 +26,6 @@ protected function registerTranslations(): void
26
$currentLocale = app()->getLocale();
27
24
28
Nova::translations(__DIR__."/../resources/lang/$currentLocale.json");
29
+ Nova::translations(resource_path("lang/vendor/nova-unlayer-field/$currentLocale.json"));
25
30
31
0 commit comments