<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
codewithdennis / filament-translate-field example snippets
return [
/*
* Automatically detect the language of the text to translate.
*
* Whether to automatically detect the language of the text to translate.
*/
'auto_detect' => true,
/*
* The default language to translate to.
*
* This should be the key of the language in the languages array.
*/
'default_language' => 'en',
/*
* The languages that the user can translate to.
*
* The key should be the language code and the value should be the language name.
*/
'languages' => [
'en' => 'English',
],
];