PHP code example of nativecode / laravel-auto-lang
1. Go to this page and download the library: Download nativecode/laravel-auto-lang 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/ */
nativecode / laravel-auto-lang example snippets
{{ __('Dashboard') }}
{{ __('Plugins') }}
return trans('Welcome Back');
bash
php artisan auto-lang:translate ta
bash
php artisan auto-lang:translate ta ar ro
txt
.php
.blade.php
.js
.ts
.jsx
.tsx
bash
php artisan auto-lang:translate ta ar ro