News

Laravel-lang – Translations for Laravel

Published
Laravel-lang – Translations for Laravel image

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.

Related: Building a Laravel Translation Package

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!

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Filed in

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article