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.
- Full Stack Developer (Laravel/Vue.JS)
London, UK or Remote (UK only)
- Senior Web Developer
San Diego, CA
- Laravel Developer
San Jose, CA
- Lead Front End Developer
- Full-Stack Laravel Developer
- Intermediate PHP Developer (Full Stack | CakePHP | Laravel | Vue | jQuery)
- Senior PHP Developer (Full Stack | CakePHP | Laravel | Vue | jQuery)