1. Go to this page and download the library: Download nikaia/translation-sheet 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/ */
[
// ...
'exclude' => [
'validation*', // This will exclude all the `validation.php` translations.
'foo::*', // This will exclude all the `foo` namespace translations.
'foo::bar.*', // this will exclude the `bar` translations from the `foo` namespace.
],
// ...
]
[
// ...
'extra_sheets' => [
[
'name' => 'Web App', // Spreadsheet sheet (tab) name.
'path' => resource_path('web-app/lang'), // Path where json files are stored. Files can be organized inside sub folders.
'tabColor' => '#0000FF', // Color of the spreadsheet tab
],
[
'name' => 'Mobile App',
'path' => resource_path('mobile-app/lang'),
'tabColor' => '#0000FF',
],
],
]