Vahtra Leht
Vahtra Leht
FFilament
Created by Vahtra Leht on 11/16/2024 in #❓┊help
publish tags
Hi. I'm looking a way to publish filament language files for only one language. I could not find where in the vendor/filament folder are the tags defined (--tag=filament-translations). The only piece(s) of code where something is published seems to be
public function packageBooted(): void
{
if ($this->app->runningInConsole()) {
foreach (app(Filesystem::class)->files(__DIR__ . '/../stubs/') as $file) {
$this->publishes([
$file->getRealPath() => base_path("stubs/filament/{$file->getFilename()}"),
], 'filament-stubs');
}
}

Testable::mixin(new TestsActions);
}
public function packageBooted(): void
{
if ($this->app->runningInConsole()) {
foreach (app(Filesystem::class)->files(__DIR__ . '/../stubs/') as $file) {
$this->publishes([
$file->getRealPath() => base_path("stubs/filament/{$file->getFilename()}"),
], 'filament-stubs');
}
}

Testable::mixin(new TestsActions);
}
I also could not find these stubs/filament/ folders. What else to do?
2 replies