Tutorials for multi-language
-
· 80 min read · premiumCourse: Multi-Language Laravel 11: All You Need to Know
Localizing your application means adapting it to different languages or regions, which can be diffic...
-
· Updated Aug 2022 · 6 min readMulti-Language Routes and Locales with Auth
-
· 3 min readLaravel Translations: Keys as JSON String or PHP Array?
-
· Updated May 2025 · 2 min readSet Laravel User Locale in Middleware
-
March 12, 2020 · 10:27 minsVideo: Laravel: Single to Multi-Language - Practical Demo
-
March 24, 2021 · 9:13 minsVideo: Multi-Language Laravel: Part 1 - Static Texts
-
August 27, 2024 · 5:30 minsVideo: Laravel Translations: Keys in JSON or PHP Array?
-
Tip: Auto-Capitalize Translations
-
Package: mcamara/laravel-localization
Adds the missing localization features to Laravel: language selection in the URL and from headers, translatable routes and many other small features that are commonly needed in multilanguage sites.
-
Package: spatie/laravel-translatable
This package contains a trait to make Eloquent models translatable. Translations are stored as json. There is no extra table needed to hold them.
-
Package: Astrotomic/laravel-translatable
If you want to store translations of your models into the database, this package is for you.
-
Code example: Bottelet/DaybydayCRM
Files in the example
-
resources/lang/en.json
-
resources/lang/es.json
-
resources/views/pages/_createdGraph.blade.php
-
-
Code example: akaunting/akaunting
Files in the example
-
resources/lang/lt-LT/currencies.php
-
resources/views/settings/currencies/create.blade.php
-
resources/lang/en-US/currencies.php
-
-
Code example: Kovah/LinkAce
Files in the example
-
resources/lang/en_US/stats.php
-
resources/lang/fr_FR/stats.php
-
resources/views/dashboard.blade.php
-
resources/lang/en.json
-
-
June 26, 2024 · 4:44 minsVideo: Laravel Translations: Auto-Capitalize Parameters
-
Package: spatie/laravel-translation-loader
Store your translations in the database or other sources
-
Package: LarsWiegers/laravel-translations-checker
Never worry about missing translations again! Use the translations checker
-
Package: xiCO2k/laravel-vue-i18n
laravel-vue-i18n is a Vue3 plugin that allows to connect your Laravel Framework translation files with Vue. It uses the same logic used on Laravel Localization.
-
Package: translation/laravel
Translation.io client for Laravel 5.5+ to 9.x
-
Code example: tighten/laravelversions
Files in the example
-
resources/lang/de.json
-
resources/views/partials/modules/show_recommendations.blade.php
-