Skip to content

Releases: sadegh19b/laravel-persian-lang

v2.1.1

06 Oct 08:21

Choose a tag to compare

  • Add validation attributes instructions
  • Update language path handling

v2.1.0

06 Oct 06:38

Choose a tag to compare

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 fa and 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-lang

Full Changelog: Compare v2.0.2...v2.1.0

v2.0.2

15 Aug 17:07

Choose a tag to compare

  • Add new validation message for doesnt_contain

v2.0.1

01 Jun 08:23

Choose a tag to compare

  • Add new validation translation for in_array_keys

v2.0.0

21 Apr 18:01

Choose a tag to compare

  • Support Laravel 6 to 12

v1.0.0

21 Apr 17:59

Choose a tag to compare

  • Support Laravel 5.x