laravel-localization

Community

Seamlessly add multilingual support to your Laravel API.

AuthorabdallhMoukdad
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It simplifies integrating multi-language features into Laravel 12 APIs, enabling dynamic translation handling and locale management.

Core Features & Use Cases

  • Locale Detection & Middleware: Automatically resolve user locale via preferences, headers, or browser settings.
  • Translation Files Management: Supports PHP array and JSON formats for static and dynamic content translation.
  • Use Case: Configure an API to serve content in user's preferred language, dynamically translate validation messages, and support locale-aware formatting for dates and numbers.

Quick Start

Set up the locale middleware to manage language switching based on user preferences or request headers.

Dependency Matrix

Required Modules

None required

Components

referencesassetsscripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: laravel-localization
Download link: https://github.com/abdallhMoukdad/laravel-agent-skills/archive/main.zip#laravel-localization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.