PHP code example of adilbekes / filament-auto-translatable
1. Go to this page and download the library: Download adilbekes/filament-auto-translatable library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
adilbekes / filament-auto-translatable example snippets
use Adilbekes\FilamentAutoTranslatable\Forms\Components\TranslatableInput;
TranslatableInput::make('name')
->locales(['en' => 'English', 'kk' => 'Kazakh'])
->
use Adilbekes\FilamentAutoTranslatable\Infolists\Components\TranslatableEntry;
TranslatableEntry::make('name')
->locales(['en' => 'English', 'kk' => 'Kazakh']);
use Adilbekes\FilamentAutoTranslatable\Tables\Columns\TranslatableColumn;
TranslatableColumn::make('name')
->locales(['en' => 'English', 'kk' => 'Kazakh'])
->