Implement Translation Tabs Component: Added TranslationTabs component for managing translations in Blog and Page resources. Integrated translation fields into forms, ensuring localization support for titles, content, and metadata. Updated existing pages to save and load translations, enhancing the universal translation system. Added relevant localization keys for English and Turkish.
This commit is contained in:
+5
-1
@@ -101,8 +101,12 @@ use Filament\Forms\Components\FileUpload;
|
||||
// Layout components (ÖNEMLİ: Schemas namespace!)
|
||||
use Filament\Schemas\Components\Section; // ✅ Doğru
|
||||
use Filament\Schemas\Components\Grid; // ✅ Doğru
|
||||
use Filament\Schemas\Components\Tabs; // ✅ Doğru
|
||||
use Filament\Schemas\Components\Fieldset; // ✅ Doğru
|
||||
|
||||
// Tabs components (ÖNEMLİ: Forms namespace!)
|
||||
use Filament\Forms\Components\Tabs; // ✅ Doğru
|
||||
// Tab kullanımı: Tabs\Tab::make() şeklinde kullan
|
||||
// Import gerekmez, Tabs namespace'i üzerinden erişilir
|
||||
```
|
||||
|
||||
#### **YANLIŞ KULLANIM (Eski Filament 3.x):**
|
||||
|
||||
Reference in New Issue
Block a user