PHP code example of joyching / laravel-i18n-tool
1. Go to this page and download the library: Download joyching/laravel-i18n-tool 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/ */
joyching / laravel-i18n-tool example snippets
$ php artisan vendor:publish --provider="Joyching\I18n\I18nServiceProvider"
$ php artisan i18n-tool:export
$ php artisan i18n-tool:export --locale=en