Laravel-lang is a collection of over 68 language translations for Laravel by developer Fred Delrieu (caouecs), including authentication, pagination, passwords, and validation rules. This package also includes JSON files for many languages.
This package contains lang files that work with Laravel 4 and 5, using Composer to install the package. You do still need to copy the translation files to your application folder, but having the composer dependency will make it easy to keep them updated.
I did notice that the package stays current, and as new validation rules come out, translations are released. However, collection over 68 translations for a new validation rule is time-consuming and takes time to find specialized contributors.
As you probably know, creating translations can be a tedious and lengthy process, and this repo has a todo list of translations still needed to be organized by country.
If you are new to Laravel or need a refresher, check out the Localization documentation for instructions on translating strings into various languages.
For complete laravel-lang installation instructions check out caouecs/Laravel-lang on GitHub. If you can translate, I’d encourage you to contribute to this wonderful package!
Filed in: News
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- PHP Web Developer
Christ for all Nations
- PHP Developer
Manhattan, KS (open to Remote)
- Mid-Senior Laravel Developer
- Full Stack Web Developer
Las Vegas, NV
- Staff Software Engineer (Laravel)
- Software Engineer (PHP, Laravel, Vue)
Los Angeles, CA
- Software Engineer Level 1 / Level 2
St. Pete. / Tampa Area, FL / Remote