PHP code example of hi-folks / jet-translations

1. Go to this page and download the library: Download hi-folks/jet-translations 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/ */

    

hi-folks / jet-translations example snippets


__("Dashboard");
bash
php artisan vendor:publish --provider="HiFolks\JetTranslations\JetTranslationsServiceProvider" --tag="lang" --force

// config/app.php file
'locale' => 'it',
bash
php artisan jet-trans:extract
shell
php artisan jet-trans:extract --language=de --save-json