PHP code example of javidalpe / laravel-localization-automation

1. Go to this page and download the library: Download javidalpe/laravel-localization-automation 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/ */

    

javidalpe / laravel-localization-automation example snippets


'providers' => [
    ...
    Javidalpe\LaravelLocalizationAutomation\LaravelLocalizationAutomationServiceProvider::class,
];

    \\Wrong
    'welcome.greetings' => '<strong>Hey!</strong>',
    \\Good
    'welcome.greetings' => 'Hey!',
    

php artisan localization:translate es fr

php artisan localization:translate es fr --provider=deepl