Laravel provides localization features, which allow you to easily provide translations for your application. This project is an example of how to implement multiple language in Laravel using Inertia JS and React JS.
Source code : GitHub
Clone the repository
git clone https://github.com/raprmdn/laravel-multi-language
Go to the project directory
cd laravel-multi-language
Install dependencies
# composer
composer install
# npm
npm install
Copy .env.example
to .env
cp .env.example .env
Generate application key
php artisan key:generate
Run migration
php artisan migrate
Run the application
# Start the development server
php artisan serve
# Inertia JS
npm run dev