What problem does it solve? Laravel apps using Inertia.js with Vue, React, or Svelte have no built-in way to expose backend PHP translation files to the frontend, forcing developers to duplicate strings or hand-roll sharing logic. This Skill guides the correct setup and usage of erag/laravel-lang-sync-inertia so translations flow from lang/{locale} PHP files into the shared Inertia lang prop or generated JSON files. ## Core Features & Use Cases - Runtime translation loading: Call syncLangFiles() in controllers before Inertia::render() to share one or many translation groups, including nested groups via dot notation like admin.users. - Build-time JSON generation: Run php artisan erag:generate-lang to export PHP translation groups to JSON files that the package auto-loads and merges per locale. - Frontend helpers for Vue, React, and Svelte: Import lang() from the framework-specific entrypoint to use __(), trans(), transChoice(), and trans_choice() directly in components. - Use Case: A Laravel 13 + Inertia + Svelte 5 portfolio site needs bilingual pages; use this Skill to publish the config, generate frontend JSON with erag:generate-lang, and render translations in Svelte components without touching Vite or app.ts. ## Quick Start Ask the AI to set up erag/laravel-lang-sync-inertia in your Laravel Inertia app so your Svelte pages can render translations from the shared lang prop.