PHP code example of novadaemon / laravel-csv-translations

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

    

novadaemon / laravel-csv-translations example snippets


 
return [
  'titles' => 
  [
    'home' => 'Home',
    'about' => 'About us',
    'services' => 'Services',
    'contact' => 'Contact',
    'gallery' => 'Gallery',
  ],
];

 
return [
  'titles' => 
  [
    'home' => 'Inicio',
    'about' => 'Sobre nosotros',
    'services' => 'Servicios',
    'contact' => 'Contacto',
    'gallery' => 'Galería',
  ],
];

 
return [
  'titles' => 
  [
    'home' => 'Começar',
    'about' => 'Sobre nós',
    'services' => 'Serviços',
    'contact' => 'Contato',
    'gallery' => 'Galeria',
  ],
];