laravel-lang/locales
Locale data package for Laravel Lang. Provides up-to-date locale definitions you can use across your Laravel apps, with documentation for installation and contribution guidelines. MIT licensed.
Accept-Language headers).Locales::get(), Locales::set(), and Locales::info() replace ad-hoc logic for locale detection, fallback chains, and metadata.trans(), __()) and packages like spatie/laravel-translation-loader.zh-Hant for Taiwanese Mandarin) or advanced features (e.g., pluralization rules).Adopt if:
en-US, fr-CA, ar-SA).Locales::getCurrent(), Locales::set()).Avoid if:
i18next, react-intl).laravel-lang/locale-list."This package is a force multiplier for global growth—turning localization from a bottleneck into a competitive advantage. Here’s the ROI:
€1,000.00 vs. 1.000,00 €) reduces friction for 75% of global users who prefer non-English interfaces.sw-CH for Swiss German) or advanced features."This is the only Laravel locale package you’ll ever need—lightweight, battle-tested, and ready for production:
__(), trans()). One command: composer require laravel-lang/locales.LocaleData. MIT license allows full control.Locales::set('fr-CA') or detect via Accept-Language headers.@locale('flag')) or JS.fr-CA → fr → en without custom logic.Locales::get(), Locales::info(), and LocaleData objects for consistency.
No more reinventing the wheel—just plug and play for global-ready Laravel apps.""This package ensures your app looks and feels native to users worldwide—without extra work:
dd/MM/yyyy vs. MM/dd/yyyy), numbers (1,000.00 vs. 1.000,00 €), and currencies adapt dynamically.How can I help you explore Laravel packages today?