PHP code example of sepremex / filament-translation-editor
1. Go to this page and download the library: Download sepremex/filament-translation-editor 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/ */
sepremex / filament-translation-editor example snippets
// Enable backups (strongly recommended)
'create_backup' => true,
// Disable auto-save for more control
'auto_save_changes' => false,
// Consider disabling auto-translate initially
'auto_translate' => ['enabled' => false],
'path' => 'lang',
'auto_save' => false,
'key_separator' => '<~>', // not in use from config yet...
'per_page' => 20, // secret for next stage...
'search_enabled' => true,
'