laravel-internationalization-and-translation
Internationalization and Translation (i18n)
Build your Laravel application with internationalization in mind from the start. Even if you're only supporting one language initially, wrapping strings in translation functions makes future localization much easier.
Why Translate From the Start?
// BAD: Hardcoded strings are difficult to change later
return view('welcome', [
'message' => 'Welcome to our application!'
]);
// GOOD: Translatable from day one
return view('welcome', [
'message' => __('Welcome to our application!')
]);
Basic Translation Setup
More from noartem/laravel-vue-skills
shadcn-vue
shadcn-vue for Vue/Nuxt with Reka UI components and Tailwind. Use for accessible UI, Auto Form, data tables, charts, dark mode, MCP server setup, or encountering component imports, Reka UI errors.
651laravel-routes-best-practices
Keep routes clean and focused on mapping requests to controllers; avoid business logic, validation, or database operations in route files
29baseline-ui
Enforces an opinionated UI baseline to prevent AI-generated interface slop.
28laravel-laravel-prompting-patterns
Use Laravel-specific vocabulary—Eloquent patterns, Form Requests, API resources, jobs/queues—to get idiomatic framework code
28laravel-data-chunking-large-datasets
Process large datasets efficiently using chunk(), chunkById(), lazy(), and cursor() to reduce memory consumption and improve performance
28laravel-performance-caching
Use framework caches and value/query caching to reduce work; add tags, locks, and explicit invalidation strategies for correctness
28