Skip to main content

Search Results for "multi-language"

We found 20 results for "multi-language".

Tutorial 6 min read Free

Multi-Language Routes and Locales with Auth

Multilanguage projects are quite easy to configure in Laravel, but if you want to have locale as part of URL, like /en/about, then you will have trouble with Auth::routes(), they won't work by default like /en/register. This article will show you what to do.

Tutorial 2 min read Free

Set Laravel User Locale in Middleware

To set the global Laravel language (locale), you need to use the `app()->setLocale()` method. But the question is: where to put this method if you want to set the locale based on a DB field like `users.language`?

Quick Tip

Auto-Capitalize Translations

In translation files (/lang folder), you can specify variables not only as :variable, but also capitalized as :VARIABLE or :Variable - and then whatever value you pass - will be also capitalized automatically.

Package 3527 stars Last updated November 2025

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 2378 stars Last updated November 2025

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 1361 stars Last updated November 2025

Astrotomic/laravel-translatable

If you want to store translations of your models into the database, this package is for you.

Code Example akaunting/akaunting

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

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

Package 686 stars Last updated November 2025

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 171 stars Last updated June 2025

translation/laravel

Translation.io client for Laravel 5.5+ to 9.x