Releases: sadegh19b/laravel-persian-lang
Releases · sadegh19b/laravel-persian-lang
v2.1.1
v2.1.0
Auto-Loading fa Translation
🎉 New Features
Automatic Translation Loading
- No Publishing Required: Persian translations are now automatically loaded from the package without needing to publish files
- Seamless Integration: Simply set your locale to
faand use Laravel's standard translation functions (__('validation.required')) - Zero Configuration: Works immediately after installation with no additional setup
📖 Usage
After installation, just set your locale:
// config/app.php
'locale' => 'fa',Then use translations normally:
__('validation.required')
__('auth.failed')
__('passwords.reset')Customization (Optional)
If you want to customize translations, you can still publish them:
php artisan vendor:publish --tag=persian-langFull Changelog: Compare v2.0.2...v2.1.0